Skip to content

Commit 33cdef0

Browse files
committed
updated upstream container image to address CVEs
1 parent 5d74323 commit 33cdef0

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
FROM alpine:3.23.0
22
ENV TARGET=""
33
WORKDIR /
4-
# Ensure we have the latest packages and remove cache
5-
RUN apk update && apk upgrade && rm -rf /var/cache/apk/*
4+
# Ensure we have the latest packages including libssl and remove cache
5+
RUN apk update && \
6+
apk upgrade && \
7+
apk add --no-cache libssl3 libcrypto3 && \
8+
rm -rf /var/cache/apk/*
69
COPY check-fs.sh /
710
RUN chmod +x /check-fs.sh
811
ENTRYPOINT ["/check-fs.sh", "$TARGET"]

hack/integration-test-image/container-image-csi-driver-test:stat-fs.dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
FROM alpine:3.23.0
2-
# Ensure we have the latest packages and remove cache
3-
RUN apk update && apk upgrade && rm -rf /var/cache/apk/*
2+
# Ensure we have the latest packages including libssl and remove cache
3+
RUN apk update && \
4+
apk upgrade && \
5+
apk add --no-cache libssl3 libcrypto3 && \
6+
rm -rf /var/cache/apk/*
47
ENV TARGET1=""
58
ENV TARGET2=""
69
WORKDIR /

hack/integration-test-image/container-image-csi-driver-test:write-check.dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ COPY write_check.go .
44
RUN GO111MODULE=off go build -o write_check
55

66
FROM alpine:3.23.0
7-
# Ensure we have the latest packages and remove cache
8-
RUN apk update && apk upgrade && rm -rf /var/cache/apk/*
7+
# Ensure we have the latest packages including libssl and remove cache
8+
RUN apk update && \
9+
apk upgrade && \
10+
apk add --no-cache libssl3 libcrypto3 && \
11+
rm -rf /var/cache/apk/*
912

1013
ENV TARGET=""
1114
WORKDIR /

0 commit comments

Comments
 (0)