From 272c017426dafd03edf32cebcad225f3f11f87dc Mon Sep 17 00:00:00 2001 From: Reingold Shekhtel Date: Thu, 26 Sep 2024 11:54:09 +0200 Subject: [PATCH] Update Dockerfile to use UBI9 base image --- Dockerfile | 6 +++--- VERSION | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 89f9006d..03b94ce7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi8/python-311:latest AS test +FROM registry.access.redhat.com/ubi9/python-311:latest AS test USER root RUN dnf -y upgrade \ && python -m venv /venv \ @@ -13,7 +13,7 @@ RUN "${VIRTUAL_ENV}/bin/pip" install --upgrade pip \ RUN "${VIRTUAL_ENV}/bin/pip" install --no-cache-dir -r requirements-dev.txt RUN make test-all -FROM registry.access.redhat.com/ubi8/python-311:latest AS builder +FROM registry.access.redhat.com/ubi9/python-311:latest AS builder USER root RUN dnf -y upgrade && dnf -y install pcre-devel \ && dnf -y remove emacs-filesystem libjpeg-turbo libtiff libpng wget \ @@ -38,7 +38,7 @@ RUN mkdir /backend \ && cp -r /build/app /backend/ \ && cp -r /build/res /backend/ -FROM registry.access.redhat.com/ubi8/python-311:latest +FROM registry.access.redhat.com/ubi9/python-311:latest USER root WORKDIR /backend/ COPY --from=builder /backend ./ diff --git a/VERSION b/VERSION index 6ec46c65..6a808bd5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.11.0-r3 +5.12.0-r1