File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
1313 util-linux \
1414 jq \
1515 man \
16+ unzip \
1617 upx \
1718 zip \
1819 --no-install-recommends \
@@ -24,10 +25,19 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
2425 && chmod +x /usr/local/bin/shellcheck \
2526 && curl -L https://storage.googleapis.com/k8s-claimer/git-e4dcc16/k8s-claimer-git-e4dcc16-linux-amd64 -o /usr/local/bin/k8s-claimer \
2627 && chmod +x /usr/local/bin/k8s-claimer \
28+ && curl -sSL -o /tmp/protoc.zip https://github.com/google/protobuf/releases/download/v3.1.0/protoc-3.1.0-linux-x86_64.zip \
29+ && unzip /tmp/protoc.zip 'bin/protoc' -d /usr/local \
30+ && rm /tmp/protoc.zip \
31+ && apt-get purge -y --auto-remove \
32+ unzip \
33+ && apt-get autoremove -y \
34+ && apt-get clean -y \
35+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc \
2736 && go get -u -v \
2837 github.com/alecthomas/gometalinter \
2938 github.com/onsi/ginkgo/ginkgo \
3039 github.com/mitchellh/gox \
40+ github.com/golang/protobuf/protoc-gen-go \
3141 && gometalinter --install
3242
3343WORKDIR /go
You can’t perform that action at this time.
0 commit comments