42a8a837ee
Bumps alpine from 3.13.4 to 3.14.2. --- updated-dependencies: - dependency-name: alpine dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
13 lines
234 B
Docker
13 lines
234 B
Docker
FROM golang:1.17.0 as stage1
|
|
COPY . /data
|
|
RUN cd /data && \
|
|
go vet && \
|
|
go test ./... && \
|
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build .
|
|
|
|
FROM alpine:3.14.2
|
|
COPY --from=stage1 /data/auth_proxy /
|
|
EXPOSE 8080
|
|
|
|
CMD ["/auth_proxy"]
|