ingress-nginx-helm/images/ext-auth-example-authsvc/rootfs/Dockerfile
Ricardo Katz 6d3a6b6a33
Release v1.8.2 and Update Go to v1.21.1 (#10379)
* Bump Go version to 1.21.1 (#10377)

* Bump Go version to 1.21.1

* Bump testrunner image

* Fix lint error on datadog struct

* Revert lint on 1.8

* Fix http default backend test

* Fix http default backend test

* Fix http default backend test (#10382)
2023-09-08 07:56:15 -07:00

10 lines
260 B
Docker

FROM golang:1.21.1-alpine3.18 as builder
RUN mkdir /authsvc
WORKDIR /authsvc
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -o authsvc authsvc.go
FROM gcr.io/distroless/base-debian11
COPY --from=builder /authsvc/authsvc /
EXPOSE 8080
ENTRYPOINT ["/authsvc"]