Commit a397a578 authored by Massimiliano Pippi's avatar Massimiliano Pippi

install test tools

parent 5639daf0
......@@ -5,5 +5,16 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
unzip \
&& rm -rf /var/lib/apt/lists/*
ENV PROTOBUF_VER 3.8.0
# NOTE: most of the following assume WORDKIR is '/'
RUN set -ex \
&& curl -sL https://taskfile.dev/install.sh | sh
\ No newline at end of file
# Task executor, will be installed in /bin
&& curl -sL https://taskfile.dev/install.sh | sh \
# Go runtime dependencies
&& go get github.com/golangci/govet \
&& go get golang.org/x/lint/golint \
# Protobuf tooling
&& go get github.com/golang/protobuf/protoc-gen-go \
&& curl -LO https://github.com/google/protobuf/releases/download/v$PROTOBUF_VER/protoc-$PROTOBUF_VER-linux-x86_64.zip \
&& mkdir protobuf && unzip protoc-$PROTOBUF_VER-linux-x86_64.zip && cp protobuf/bin/* /bin/ && rm -rf protobuf
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment