Dockerfile : updated base image to alpine:3.23.2

This commit is contained in:
saundersp
2026-01-13 10:42:56 +01:00
parent 59dfda6063
commit b604b3d622

View File

@@ -1,12 +1,12 @@
FROM alpine:3.22.2 AS builder FROM alpine:3.23.2 AS builder
RUN apk add --no-cache \ RUN apk add --no-cache \
libstdc++=14.2.0-r6 \ libstdc++=15.2.0-r2 \
&& adduser --disabled-password saundersp && adduser --disabled-password saundersp
RUN apk add --no-cache \ RUN apk add --no-cache \
make=4.4.1-r3 \ make=4.4.1-r3 \
g++=14.2.0-r6 g++=15.2.0-r2
USER saundersp USER saundersp
@@ -18,10 +18,10 @@ COPY *.cpp *.hpp Makefile ./
RUN sed -i 's/ -fsanitize=undefined//' Makefile \ RUN sed -i 's/ -fsanitize=undefined//' Makefile \
&& make -j "$(nproc)" && make -j "$(nproc)"
FROM alpine:3.22.2 FROM alpine:3.23.2
RUN apk add --no-cache \ RUN apk add --no-cache \
libstdc++=14.2.0-r6 \ libstdc++=15.2.0-r2 \
&& adduser --disabled-password saundersp && adduser --disabled-password saundersp
USER saundersp USER saundersp