use go 1.13 to build docker image (#160)

This commit is contained in:
Joshua Humphries 2020-05-15 08:21:08 -04:00 committed by GitHub
parent 36008aa111
commit 2108c8f0b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -1,10 +1,6 @@
FROM golang:1.11.10-alpine as builder FROM golang:1.13.10-alpine3.11 as builder
MAINTAINER FullStory Engineering MAINTAINER FullStory Engineering
# currently, a module build requires gcc (so Go tool can build
# module-aware versions of std library; it ships only w/ the
# non-module versions)
RUN apk update && apk add --no-cache ca-certificates git gcc g++ libc-dev
# create non-privileged group and user # create non-privileged group and user
RUN addgroup -S grpcurl && adduser -S grpcurl -G grpcurl RUN addgroup -S grpcurl && adduser -S grpcurl -G grpcurl