Skip to content

Commit

Permalink
Update Dockerfile to use UBI9 base image
Browse files Browse the repository at this point in the history
  • Loading branch information
raikbitters committed Sep 26, 2024
1 parent 4d8830a commit 272c017
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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 \
Expand All @@ -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 ./
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.11.0-r3
5.12.0-r1

0 comments on commit 272c017

Please sign in to comment.