From ea9c16813a92e443f865263dfac74a789355e970 Mon Sep 17 00:00:00 2001 From: Michael Mraka Date: Mon, 16 Sep 2024 11:29:22 +0200 Subject: [PATCH] RHINENG-12554: rebase images to ubi9 --- Dockerfile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index f85fbb62a..b84b0422d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,14 @@ -ARG BUILDIMG=registry.access.redhat.com/ubi8 -ARG RUNIMG=registry.access.redhat.com/ubi8-micro +ARG BUILDIMG=registry.access.redhat.com/ubi9 +ARG RUNIMG=registry.access.redhat.com/ubi9-micro FROM ${BUILDIMG} as buildimg ARG INSTALL_TOOLS=no # install build, development and test environment -RUN dnf module enable -y postgresql:16 || curl -o /etc/yum.repos.d/postgresql.repo \ - https://copr.fedorainfracloud.org/coprs/mmraka/postgresql-16/repo/epel-8/mmraka-postgresql-16-epel-8.repo +RUN curl -o /etc/yum.repos.d/postgresql.repo \ + https://copr.fedorainfracloud.org/coprs/mmraka/postgresql-16/repo/epel-9/mmraka-postgresql-16-epel-9.repo -RUN dnf install -y go-toolset postgresql diffutils rpm-devel pg_repack && \ - ln -s /usr/libexec/platform-python /usr/bin/python3 +RUN dnf install -y go-toolset postgresql diffutils rpm-devel pg_repack ENV GOPATH=/go \ GO111MODULE=on \