Add docker build script to inject version information

Signed-off-by: Steve Coffman <steve@khanacademy.org>
This commit is contained in:
Steve Coffman
2021-01-20 11:55:05 -05:00
committed by Dave Anderson
parent c55d26967b
commit fec9490378
2 changed files with 34 additions and 0 deletions

View File

@@ -48,6 +48,9 @@ RUN go mod download
COPY . .
ARG goflags_arg # default intentionally unset
ENV GOFLAGS=$goflags_arg
RUN go install -v ./cmd/...
FROM alpine:3.11