Images: Bump Alpine to v3.21. (#12528)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marco Ebert <marco_ebert@icloud.com>
This commit is contained in:
parent
fe6d1b7ef8
commit
0d98a278b7
14 changed files with 35 additions and 19 deletions
|
|
@ -59,7 +59,7 @@ RUN bash -xeu -c ' \
|
|||
); \
|
||||
for dir in "${writeDirs[@]}"; do \
|
||||
mkdir -p ${dir}; \
|
||||
chown -R www-data.www-data ${dir}; \
|
||||
chown -R www-data:www-data ${dir}; \
|
||||
done' \
|
||||
# LD_LIBRARY_PATH does not work so below is needed for opentelemetry/other modules
|
||||
# Put libs of newer modules under `/modules_mount/<other>/lib` and add that path below
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ RUN apk update \
|
|||
&& apk upgrade \
|
||||
&& /chroot.sh
|
||||
|
||||
FROM alpine:3.20
|
||||
FROM alpine:3.21
|
||||
|
||||
ARG TARGETARCH
|
||||
ARG VERSION
|
||||
|
|
@ -78,7 +78,7 @@ RUN bash -xeu -c ' \
|
|||
); \
|
||||
for dir in "${writeDirs[@]}"; do \
|
||||
mkdir -p ${dir}; \
|
||||
chown -R www-data.www-data ${dir}; \
|
||||
chown -R www-data:www-data ${dir}; \
|
||||
done' \
|
||||
# LD_LIBRARY_PATH does not work so below is needed for opentelemetry/other modules
|
||||
# Put libs of newer modules under `/modules_mount/<other>/lib` and add that path below
|
||||
|
|
@ -103,7 +103,7 @@ RUN ln -sf /chroot/etc/nginx /etc/nginx \
|
|||
&& touch /chroot/var/log/nginx/access.log \
|
||||
&& chown www-data:www-data /chroot/var/log/nginx/access.log \
|
||||
&& echo "" > /chroot/etc/resolv.conf \
|
||||
&& chown -R www-data.www-data /chroot/var/log/nginx /chroot/etc/resolv.conf \
|
||||
&& chown -R www-data:www-data /chroot/var/log/nginx /chroot/etc/resolv.conf \
|
||||
&& mknod -m 0666 /chroot/dev/null c 1 3 \
|
||||
&& mknod -m 0666 /chroot/dev/random c 1 8 \
|
||||
&& mknod -m 0666 /chroot/dev/urandom c 1 9 \
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ writeDirs=( \
|
|||
|
||||
for dir in "${writeDirs[@]}"; do
|
||||
mkdir -p ${dir};
|
||||
chown -R www-data.www-data ${dir};
|
||||
chown -R www-data:www-data ${dir};
|
||||
done
|
||||
|
||||
mkdir -p /chroot/lib /chroot/proc /chroot/usr /chroot/bin /chroot/dev /chroot/run
|
||||
|
|
@ -47,4 +47,5 @@ cp /etc/passwd /etc/group /etc/hosts /chroot/etc/
|
|||
cp -a /usr/* /chroot/usr/
|
||||
cp -a /etc/nginx/* /chroot/etc/nginx/
|
||||
cp -a /etc/ingress-controller/* /chroot/etc/ingress-controller/
|
||||
cp /lib/ld-musl-* /lib/libcrypto* /lib/libssl* /lib/libz* /chroot/lib/
|
||||
cp /lib/ld-musl-* /chroot/lib/
|
||||
cp /usr/lib/libcrypto* /usr/lib/libssl* /usr/lib/libz* /chroot/usr/lib/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue