bumped go version to 1.18.1 (#8578)
This commit is contained in:
parent
61fcca3a3a
commit
24b8e32b08
9 changed files with 52 additions and 19 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.17.6-alpine3.15 as builder
|
||||
FROM golang:1.18.2-alpine3.15 as builder
|
||||
RUN mkdir /authsvc
|
||||
WORKDIR /authsvc
|
||||
COPY . ./
|
||||
|
|
@ -7,4 +7,4 @@ 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"]
|
||||
ENTRYPOINT ["/authsvc"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue