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"]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue