We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae4f166 commit 6f73a9dCopy full SHA for 6f73a9d
.changelog/917.txt
@@ -0,0 +1,3 @@
1
+```release-note:security
2
+Add microdnf upgrade in dockerfile to include future security fixes
3
+```
Dockerfile
@@ -212,7 +212,9 @@ LABEL name=${BIN_NAME}\
212
213
COPY LICENSE /usr/share/doc/$PRODUCT_NAME/LICENSE.txt
214
215
-RUN microdnf install -y shadow-utils
+RUN microdnf update -y && \
216
+ microdnf install -y shadow-utils && \
217
+ microdnf clean all
218
219
# Create a non-root user to run the software.
220
RUN groupadd --gid 1000 $PRODUCT_NAME && \
0 commit comments