We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79213a2 commit c26fb8cCopy full SHA for c26fb8c
Dockerfile
@@ -14,7 +14,7 @@ WORKDIR $APP_ROOT
14
15
# install postgresql from centos if not building on RHEL host
16
RUN ON_RHEL=$(microdnf repolist --enabled | grep rhel) ; \
17
- if [[ ! -f /activation-key && -z "$ON_RHEL" ]] ; then \
+ if [[ -z "$ON_RHEL" ]] ; then \
18
rpm -Uvh http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-stream-repos-9.0-35.el9.noarch.rpm \
19
http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-gpg-keys-9.0-35.el9.noarch.rpm && \
20
sed -i 's/^\(enabled.*\)/\1\npriority=200/;' /etc/yum.repos.d/centos*.repo ; \
0 commit comments