Skip to content

Commit

Permalink
RHINENG-12554: rebase images to ubi9
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelMraka committed Sep 17, 2024
1 parent b60bcf8 commit 45c6c36
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down

0 comments on commit 45c6c36

Please sign in to comment.