
* upgrade go 1.21.5 Signed-off-by: James Strong <strong.james.e@gmail.com> * update golang gha Signed-off-by: James Strong <strong.james.e@gmail.com> * supgrade golang lint ci to v1.55.2 * sfix all golang lint ci errors * sget a nginx build as well * srevert some e2e changes * srevert some e2e changes --------- Signed-off-by: James Strong <strong.james.e@gmail.com>
10 lines
260 B
Docker
10 lines
260 B
Docker
FROM golang:1.21.5-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"]
|