diff --git a/Dockerfile b/Dockerfile index babc3c5..77c7e3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags "-s -w" -o /gitant ./cmd/gitant/ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags "-s -w" -o /git-remote-gitant ./cmd/git-remote-gitant/ # Runtime stage -FROM alpine:3.19 +FROM alpine:3.23 RUN apk --no-cache add ca-certificates curl diff --git a/Dockerfile.goreleaser b/Dockerfile.goreleaser index 72ff3f4..6e36375 100644 --- a/Dockerfile.goreleaser +++ b/Dockerfile.goreleaser @@ -1,5 +1,5 @@ # Used by GoReleaser — build context contains pre-built binaries only. -FROM alpine:3.20 +FROM alpine:3.23 RUN apk add --no-cache git ca-certificates wget && \ adduser -D -u 1000 gitant COPY gitant /usr/local/bin/gitant