Merge pull request #452 from wallabag/impr/updates

Update Alpine base image, envsubst and composer
This commit is contained in:
Kevin Decherf
2025-07-18 13:00:47 +02:00
committed by GitHub

View File

@ -1,4 +1,4 @@
ARG COMPOSER_VERSION=2.5.8 ARG COMPOSER_VERSION=2.8.10
FROM composer:$COMPOSER_VERSION as composer FROM composer:$COMPOSER_VERSION as composer
@ -7,9 +7,9 @@ FROM golang:alpine as builder
# envsubst from gettext can not replace env vars with default values # envsubst from gettext can not replace env vars with default values
# this package is not available for ARM32 and we have to build it from source code # this package is not available for ARM32 and we have to build it from source code
# flag -ldflags "-s -w" produces a smaller executable # flag -ldflags "-s -w" produces a smaller executable
RUN go install -ldflags "-s -w" -v github.com/a8m/envsubst/cmd/envsubst@v1.3.0 RUN go install -ldflags "-s -w" -v github.com/a8m/envsubst/cmd/envsubst@v1.4.3
FROM alpine:3.18 FROM alpine:3.19
COPY --from=builder /go/bin/envsubst /usr/bin/envsubst COPY --from=builder /go/bin/envsubst /usr/bin/envsubst