Skip to content

Commit 390bb8c

Browse files
psegedyMichaelMraka
authored andcommitted
chore: build from rhel repo on registered rhel system
konflux hermetic build does not allow installation of packages from copr postgresql 16 module may contain incompatible pg_repack version, it must be tested in stage
1 parent 70a05ca commit 390bb8c

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@ FROM ${BUILDIMG} as buildimg
55
ARG INSTALL_TOOLS=no
66

77
# install build, development and test environment
8-
RUN curl -o /etc/yum.repos.d/postgresql.repo \
9-
https://copr.fedorainfracloud.org/coprs/g/insights/postgresql-16/repo/epel-9/group_insights-postgresql-16-epel-9.repo
10-
11-
RUN dnf install -y go-toolset postgresql diffutils rpm-devel pg_repack
8+
RUN (dnf module enable -y postgresql:16 || curl -o /etc/yum.repos.d/postgresql.repo \
9+
https://copr.fedorainfracloud.org/coprs/g/insights/postgresql-16/repo/epel-9/group_insights-postgresql-16-epel-9.repo) && \
10+
dnf install -y go-toolset postgresql diffutils rpm-devel pg_repack
1211

1312
ENV GOPATH=/go \
1413
GO111MODULE=on \

0 commit comments

Comments
 (0)