Skip to content

Commit

Permalink
Merge pull request #1463 from petracihalova/ubi9-migration
Browse files Browse the repository at this point in the history
[RHCLOUD-35252] migrate to the ubi9/ubi-minimal base image
  • Loading branch information
petracihalova authored Jan 27, 2025
2 parents 5c917a2 + bc447fd commit 36191d5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .tekton/insights-rbac-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ spec:
# set the working directory to value from previous step
workingDir: /var/workdir
# Use image that suites your use case
image: registry.access.redhat.com/ubi8/python-39:latest
image: registry.access.redhat.com/ubi9/python-39:latest
securityContext:
# If the task step needs write access to the volume, set the runAsUser to 0 (root).
runAsUser: 0
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10-1154 AS base
FROM registry.access.redhat.com/ubi9/ubi-minimal:9.5-1736404155 AS base

USER root

Expand Down Expand Up @@ -37,7 +37,7 @@ LABEL summary="$SUMMARY" \
# glibc-langpack-en is needed to set locale to en_US and disable warning about it
# gcc to compile some python packages (e.g. ciso8601)
# shadow-utils to make useradd available
RUN INSTALL_PKGS="python39 python39-devel glibc-langpack-en libpq-devel gcc shadow-utils" && \
RUN INSTALL_PKGS="python3 python3-devel glibc-langpack-en libpq-devel gcc shadow-utils" && \
microdnf --nodocs -y upgrade && \
microdnf -y --setopt=tsflags=nodocs --setopt=install_weak_deps=0 install $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-pr-check
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/python-39:latest
FROM registry.access.redhat.com/ubi9/python-39:latest
WORKDIR $APP_ROOT
USER root

Expand Down

1 comment on commit 36191d5

@petracihalova
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/retest

Please sign in to comment.