docker: bump Alpine to 3.14

This commit is contained in:
Nicola Murino 2021-08-05 19:38:30 +02:00
parent a3c087456b
commit 3ac832c8dd
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB

View file

@ -1,4 +1,4 @@
FROM golang:1.16-alpine3.13 AS builder
FROM golang:1.16-alpine3.14 AS builder
ENV GOFLAGS="-mod=readonly"
@ -26,7 +26,7 @@ RUN set -xe && \
go build $(if [ -n "${FEATURES}" ]; then echo "-tags ${FEATURES}"; fi) -trimpath -ldflags "-s -w -X github.com/drakkan/sftpgo/v2/version.commit=${COMMIT_SHA} -X github.com/drakkan/sftpgo/v2/version.date=`date -u +%FT%TZ`" -v -o sftpgo
FROM alpine:3.13
FROM alpine:3.14
# Set to "true" to install the optional git and rsync dependencies
ARG INSTALL_OPTIONAL_PACKAGES=false