diff --git a/Dockerfile-ray-node b/Dockerfile-ray-node index aa5b93064..f36635a2d 100644 --- a/Dockerfile-ray-node +++ b/Dockerfile-ray-node @@ -1,5 +1,9 @@ FROM registry.access.redhat.com/ubi9-minimal:9.4@sha256:104cf11d890aeb7dd5728b7d7732e175a0e4018f1bb00d2faebcc8f6bf29bd52 -RUN microdnf install -y python3.11-3.11.7 python3.11-devel-3.11.7 vim-enhanced-8.2.2637 wget-1.21.1 &&\ +RUN microdnf install -y \ + python3.11-3.11.9 \ + python3.11-devel-3.11.9 \ + vim-enhanced-8.2.2637 \ + wget-1.21.1 &&\ microdnf clean all RUN ln -s /usr/bin/python3.11 /usr/local/bin/python3 && \ ln -s /usr/bin/python3.11 /usr/local/bin/python &&\ @@ -20,7 +24,6 @@ WORKDIR /qs # Need versions of pip/setuptools more recent than provided by UBI image RUN python3.11 -m ensurepip --upgrade -# hadolint ignore=DL3013 RUN pip install --upgrade --no-cache-dir pip>=24.2 &&\ pip install --upgrade --no-cache-dir setuptools>=72.1.0 diff --git a/gateway/Dockerfile b/gateway/Dockerfile index 364189296..15bf7d0ba 100644 --- a/gateway/Dockerfile +++ b/gateway/Dockerfile @@ -14,10 +14,9 @@ RUN mkdir ${MICRO_IMAGE_DIR} COPY --from=base / ${MICRO_IMAGE_DIR} # Install Python inside the BASE image -# hadolint ignore=DL3041 RUN dnf install --installroot ${MICRO_IMAGE_DIR} --nodocs -y \ - python3.11-3.11.7 \ - python3.11-devel-3.11.7 \ + python3.11-3.11.9 \ + python3.11-devel-3.11.9 \ libstdc++ &&\ dnf upgrade --installroot ${MICRO_IMAGE_DIR} --nodocs -y && \ dnf clean all --installroot ${MICRO_IMAGE_DIR} @@ -26,7 +25,6 @@ RUN dnf install --installroot ${MICRO_IMAGE_DIR} --nodocs -y \ # and remaining application requirements will be installed FROM scratch AS app ARG MICRO_IMAGE_DIR -# hadolint ignore=DL3045 COPY --from=build ${MICRO_IMAGE_DIR}/ . # create symlinks for python