Skip to content

Commit

Permalink
Start by updating the image
Browse files Browse the repository at this point in the history
A review showed that nowhere in the Dockerfile.ubi do we do a
microdnf -y update to pickup any known CVE and bugfixes. This patch
adds this to the build process.
  • Loading branch information
stevegrubb committed Sep 4, 2024
1 parent d7abf74 commit e9f27b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ ARG TORCH_CUDA_ARCH_LIST="7.0 7.5 8.0 8.6 8.9 9.0+PTX"
FROM registry.access.redhat.com/ubi9/ubi-minimal:${BASE_UBI_IMAGE_TAG} as base
ARG PYTHON_VERSION

RUN microdnf install -y \
RUN microdnf -y update && \
microdnf install -y \
python${PYTHON_VERSION}-pip python${PYTHON_VERSION}-wheel \
&& microdnf clean all

Expand Down

0 comments on commit e9f27b4

Please sign in to comment.