File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ ENV GOLANG_PROTOBUF_VERSION=1.3.1
55ENV GRPC_GATEWAY_VERSION=1.11.3
66ENV GRPC_WEB_VERSION=1.0.6
77ENV PROTOBUF_VERSION=3.6.1
8+ ENV TERRAFORM_VERSION=0.12.12
9+ ENV K8S_VERSION=1.14.8
810
911RUN apk add --update --no-cache build-base curl git upx && \
1012 rm -rf /var/cache/apk/*
@@ -34,9 +36,17 @@ RUN mkdir -p /tmp/protoc && \
3436 unzip protoc.zip && \
3537 mv /tmp/protoc/include /usr/local/include
3638
39+ RUN curl -sSL \
40+ https://storage.googleapis.com/kubernetes-release/release/v${K8S_VERSION}/bin/linux/amd64/kubectl \
41+ -o /usr/local/bin/kubectl
42+
43+ RUN curl -sSL \
44+ https://amazon-eks.s3-us-west-2.amazonaws.com/1.14.6/2019-08-22/bin/linux/amd64/aws-iam-authenticator \
45+ -o /usr/local/bin/aws-iam-authenticator
46+
3747RUN GO111MODULE=off go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
3848
39- RUN curl -sSLo /tmp/terraform.zip "https://releases.hashicorp.com/terraform/0.12.12/terraform_0.12.12_linux_amd64 .zip" && \
49+ RUN curl -sSLo /tmp/terraform.zip "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64 .zip" && \
4050unzip -d /usr/local/bin/ /tmp/terraform.zip
4151
4252RUN chmod +x /usr/local/bin/* && \
@@ -52,7 +62,7 @@ RUN make build-deps && make build && \
5262FROM alpine:3.10
5363ENV \
5464 PROTOBUF_VERSION=3.6.1-r1 \
55- GOPATH=/proto-libs
65+ GOPATH=/proto-libs
5666
5767RUN apk add --update bash ca-certificates git python && \
5868apk add --update -t deps make py-pip
You can’t perform that action at this time.
0 commit comments