diff --git a/.tekton/insights-rbac-pull-request.yaml b/.tekton/insights-rbac-pull-request.yaml index fd604e33..a7c217d0 100644 --- a/.tekton/insights-rbac-pull-request.yaml +++ b/.tekton/insights-rbac-pull-request.yaml @@ -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 diff --git a/Dockerfile b/Dockerfile index 805d164b..5c39a21b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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 && \ diff --git a/Dockerfile-pr-check b/Dockerfile-pr-check index b10cd0b1..f8512301 100644 --- a/Dockerfile-pr-check +++ b/Dockerfile-pr-check @@ -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