Dockerfile : updated base image to alpine:3.22.0
This commit is contained in:
12
Dockerfile
12
Dockerfile
@ -1,12 +1,12 @@
|
||||
FROM alpine:3.21.3 AS builder
|
||||
FROM alpine:3.22.0 AS builder
|
||||
|
||||
RUN apk add --no-cache \
|
||||
libstdc++=14.2.0-r4 \
|
||||
libstdc++=14.2.0-r6 \
|
||||
&& adduser --disabled-password saundersp
|
||||
|
||||
RUN apk add --no-cache \
|
||||
make=4.4.1-r2 \
|
||||
g++=14.2.0-r4
|
||||
make=4.4.1-r3 \
|
||||
g++=14.2.0-r6
|
||||
|
||||
USER saundersp
|
||||
|
||||
@ -16,10 +16,10 @@ COPY *.cpp *.hpp Makefile ./
|
||||
|
||||
RUN make -j "$(nproc)"
|
||||
|
||||
FROM alpine:3.21.3
|
||||
FROM alpine:3.22.0
|
||||
|
||||
RUN apk add --no-cache \
|
||||
libstdc++=14.2.0-r4 \
|
||||
libstdc++=14.2.0-r6 \
|
||||
&& adduser --disabled-password saundersp
|
||||
|
||||
USER saundersp
|
||||
|
Reference in New Issue
Block a user