Updated Dockerfile image and packages version

This commit is contained in:
saundersp 2024-11-07 21:31:46 +01:00
parent 0cd833a07d
commit e2b0eb4a50

View File

@ -1,9 +1,12 @@
FROM alpine:3.20.1 AS builder FROM alpine:3.20.3 AS builder
RUN apk add --no-cache \
libstdc++=13.2.1_git20240309-r0 \
&& adduser --disabled-password saundersp
RUN apk add --no-cache \ RUN apk add --no-cache \
make=4.4.1-r2 \ make=4.4.1-r2 \
g++=13.2.1_git20240309-r0 \ g++=13.2.1_git20240309-r0
&& adduser --disabled-password saundersp
USER saundersp USER saundersp
@ -13,7 +16,7 @@ COPY *.cpp *.hpp Makefile ./
RUN make -j "$(nproc)" RUN make -j "$(nproc)"
FROM alpine:3.20.1 FROM alpine:3.20.3
RUN apk add --no-cache \ RUN apk add --no-cache \
libstdc++=13.2.1_git20240309-r0 \ libstdc++=13.2.1_git20240309-r0 \