From 2cd6da6637fa28931c608bd37b816dc39082f148 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Thu, 13 Feb 2025 18:05:36 +0100 Subject: [PATCH] Docker: switch to Alpine 3.20 Signed-off-by: Nicola Murino --- Dockerfile.alpine | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 3b9f82f55..9cc614a3d 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,4 +1,4 @@ -FROM golang:1.22-alpine3.19 AS builder +FROM golang:1.22-alpine3.20 AS builder ENV GOFLAGS="-mod=readonly" @@ -25,7 +25,7 @@ RUN set -xe && \ export COMMIT_SHA=${COMMIT_SHA:-$(git describe --always --abbrev=8 --dirty)} && \ go build $(if [ -n "${FEATURES}" ]; then echo "-tags ${FEATURES}"; fi) -trimpath -ldflags "-s -w -X github.com/drakkan/sftpgo/v2/internal/version.commit=${COMMIT_SHA} -X github.com/drakkan/sftpgo/v2/internal/version.date=`date -u +%FT%TZ`" -v -o sftpgo -FROM alpine:3.19 +FROM alpine:3.20 # Set to "true" to install jq and the optional git and rsync dependencies ARG INSTALL_OPTIONAL_PACKAGES=false