Skip to content

Commit

Permalink
Re-add GRPC_HEALTH_PROBE_VERSION as build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
robincw-gr committed Oct 16, 2019
1 parent d101374 commit c9903d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ FROM golang:alpine AS build-env
ADD . /src
WORKDIR /src
RUN apk add git
RUN go get github.com/grpc-ecosystem/grpc-health-probe@v0.3.0
ARG GRPC_HEALTH_PROBE_VERSION=v0.3.0
RUN go get github.com/grpc-ecosystem/grpc-health-probe@${GRPC_HEALTH_PROBE_VERSION}
ENV GO111MODULE=on
RUN go build -mod=vendor -ldflags '-extldflags "-static"' -o geras ./cmd/geras/main.go

Expand Down

0 comments on commit c9903d9

Please sign in to comment.