Skip to content

Commit 1de93c1

Browse files
backport of commit 0380f5d
1 parent 32dcba0 commit 1de93c1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changelog/4982.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:security
2+
Add microdnf upgrade in dockerfile to include future security fixes
3+
```

control-plane/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ ARG TARGETARCH
173173
# Copy license for Red Hat certification.
174174
COPY LICENSE /licenses/mozilla.txt
175175

176-
RUN microdnf install -y ca-certificates libcap openssl shadow-utils iptables
176+
RUN microdnf update -y && \
177+
microdnf install -y ca-certificates libcap openssl shadow-utils iptables && \
178+
microdnf clean all
177179

178180
# Create a non-root user to run the software. On OpenShift, this
179181
# will not matter since the container is run as a random user and group

0 commit comments

Comments
 (0)