Dockerfile : updated base image to alpine:3.23.2
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user