22# nginx custom + php-fpm + elabftw complete production files
33# https://github.com/elabftw/elabimg
44
5- FROM golang:1.25-alpine3.22 AS go-builder
5+ FROM golang:1.25-alpine3.23 AS go-builder
66# using an explicit default argument for TARGETPLATFORM will override the buildx implicit value
77ARG TARGETPLATFORM
88ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
@@ -15,7 +15,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then ARCH=amd64; elif [ "$TARGETPL
1515
1616# build nginx with only the bare minimum of features or modules
1717# Note: no need to chain the RUN commands here as it's a builder image and nothing will be kept
18- FROM alpine:3.22 AS nginx-builder
18+ FROM alpine:3.23 AS nginx-builder
1919
2020ENV NGINX_VERSION=1.28.1
2121# pin nginx modules versions
@@ -124,7 +124,7 @@ RUN make install
124124# ############################
125125# ELABFTW + NGINX + PHP-FPM #
126126# ############################
127- FROM alpine:3.22
127+ FROM alpine:3.23
128128
129129# this is versioning for the container image
130130ENV ELABIMG_VERSION=5.8.0
@@ -267,7 +267,7 @@ WORKDIR /elabftw
267267
268268# COMPOSER
269269ENV COMPOSER_HOME=/composer
270- COPY --from=composer:2.9.3 /usr/bin/composer /usr/bin/composer
270+ COPY --from=composer:2.9.4 /usr/bin/composer /usr/bin/composer
271271
272272# this allows to skip the (long) build in dev mode where /elabftw will be bind-mounted anyway
273273# pass it to build command with --build-arg BUILD_ALL=0
0 commit comments