bumped go version to 1.18.1 (#8578)

This commit is contained in:
Long Wu Yuan 2022-05-12 00:15:03 +05:30 committed by GitHub
parent 61fcca3a3a
commit 24b8e32b08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 52 additions and 19 deletions

View file

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

View file

@ -1,8 +1,7 @@
module example.com/authsvc
go 1.17
go 1.18
require (
github.com/google/uuid v1.1.2 // indirect
k8s.io/apimachinery v0.23.1 // indirect
)
require k8s.io/apimachinery v0.23.1
require github.com/google/uuid v1.1.2 // indirect