
* upgrade to golang 1.19.2 Signed-off-by: James Strong <strong.james.e@gmail.com> * update e2e testing to 1.25 kind Signed-off-by: James Strong <strong.james.e@gmail.com> Signed-off-by: James Strong <strong.james.e@gmail.com>
10 lines
260 B
Docker
10 lines
260 B
Docker
FROM golang:1.19.2-alpine3.16 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"]
|