auth_proxy_app/Dockerfile
dependabot[bot] 42a8a837ee Bump alpine from 3.13.4 to 3.14.2
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>
2021-09-03 13:06:12 +02:00

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"]