chore: update to latest sdk (no release yet!)
This commit is contained in:
parent
259af57371
commit
b3bdf90f13
5 changed files with 20 additions and 47 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM docker.io/golang:1.23-alpine3.20 AS compile
|
||||
FROM docker.io/golang:1.24-alpine AS compile
|
||||
|
||||
ENV CGO_ENABLED=0
|
||||
|
||||
|
@ -10,12 +10,10 @@ RUN go mod download
|
|||
COPY *.go /app/
|
||||
RUN go build -o app .
|
||||
|
||||
FROM docker.io/alpine:3.20
|
||||
FROM docker.io/alpine:3.22
|
||||
|
||||
WORKDIR /
|
||||
|
||||
RUN apk add git
|
||||
|
||||
COPY --from=compile /app/app /
|
||||
|
||||
ENTRYPOINT ["/app"]
|
||||
ENTRYPOINT ["/app"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue