From 2f22a4babf8bc19712b23bbb31d0ef6020cf78b0 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Wed, 23 Oct 2024 12:37:12 -0600 Subject: [PATCH] Upgrade Dockerfile to use Alpine 3.20 (#616) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 82de539c..d9479fc1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \ go build -ldflags "-s -w -X 'main.Version=${LITESTREAM_VERSION}' -extldflags '-static'" -tags osusergo,netgo,sqlite_omit_load_extension -o /usr/local/bin/litestream ./cmd/litestream -FROM alpine:3.17.2 +FROM alpine:3.20 COPY --from=builder /usr/local/bin/litestream /usr/local/bin/litestream ENTRYPOINT ["/usr/local/bin/litestream"] CMD []