feat(dependencies): upgrade to Golang 1.23 and Debian 13
All checks were successful
Snyk / security (push) Successful in 12s
All checks were successful
Snyk / security (push) Successful in 12s
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
FROM golang:1.17-alpine as build
|
FROM golang:1.23-alpine as build
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
COPY . /go/src/app
|
COPY . /go/src/app
|
||||||
RUN CGO_ENABLED=0 go build -o /go/bin/app
|
RUN CGO_ENABLED=0 go build -o /go/bin/app
|
||||||
|
|
||||||
FROM gcr.io/distroless/base-debian11
|
FROM gcr.io/distroless/base-debian13
|
||||||
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
LABEL maintainer="Luke Tainton <luke@tainton.uk>"
|
||||||
LABEL org.opencontainers.image.source="https://gitlab.com/luketainton/insultgen"
|
LABEL org.opencontainers.image.source="https://gitlab.com/luketainton/insultgen"
|
||||||
COPY --from=build /go/bin/app /
|
COPY --from=build /go/bin/app /
|
||||||
|
|||||||
Reference in New Issue
Block a user