Skip to content

Commit

Permalink
Bumped Alpine version from 3.16.2 to 3.16.9 to fix vulnerabilities (#525
Browse files Browse the repository at this point in the history
)

* bumped Alpine version from 3.16.2 to 3.16.9 to fix vulnerabilities

Signed-off-by: Rocio Roman <rocioroman@Rocios-iMac.lan>
Signed-off-by: Rocio Roman <rociosiuce@gmail.com>

* resolving conflict between glibc-2.30-r0 and nsswitch.conf

Signed-off-by: Rocio Roman <rociosiuce@gmail.com>

* resolving missing symlink to ld-linux-x86-64.so.2

Signed-off-by: Rocio Roman <rociosiuce@gmail.com>

* fixed typo

Signed-off-by: Rocio Roman <rociosiuce@gmail.com>

* removed unnecessary symlink step added earlier:4f92e25

Signed-off-by: Rocio Roman <rociosiuce@gmail.com>

---------

Signed-off-by: Rocio Roman <rocioroman@Rocios-iMac.lan>
Signed-off-by: Rocio Roman <rociosiuce@gmail.com>
  • Loading branch information
rociomroman committed Jul 25, 2024
1 parent 06d4bf2 commit 51597bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom/hardened-alpine/experiment/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This Dockerfile contains the hardened alpine image with all the
# litmus experiment dependencies installed.
# It is also made non-root, sudo-enabled with default litmus directory.
FROM alpine:3.16.2
FROM alpine:3.16.9

LABEL maintainer="LitmusChaos"

Expand Down Expand Up @@ -38,7 +38,7 @@ RUN set -ex && \
apk --update add libstdc++ curl ca-certificates && \
for pkg in glibc-${GLIBC_VERSION} glibc-bin-${GLIBC_VERSION}; \
do curl -sSL ${GLIBC_REPO}/releases/download/${GLIBC_VERSION}/${pkg}.apk -o /tmp/${pkg}.apk; done && \
apk add --allow-untrusted /tmp/*.apk && \
apk add --allow-untrusted --force-overwrite /tmp/*.apk && \
rm -v /tmp/*.apk && \
/usr/glibc-compat/sbin/ldconfig /lib /usr/glibc-compat/lib

Expand Down

0 comments on commit 51597bc

Please sign in to comment.