Skip to content

Commit

Permalink
Merge pull request #521 from bdunne/quinteros_ruby_304
Browse files Browse the repository at this point in the history
[quinteros] Lock down to ruby 3.0.4 from Appstream
  • Loading branch information
Fryguy authored Nov 13, 2024
2 parents 37c95bd + 69d51b1 commit 9858880
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ RUN chmod +t /tmp
RUN ARCH=$(uname -m) && \
if [ ${ARCH} != "s390x" ] ; then dnf -y remove *subscription-manager*; fi && \
dnf -y update && \
if [ ${ARCH} != "s390x" ] ; then dnf -y install \
https://rpm.manageiq.org/builds/centos/centos-stream-repos-8-6.1.el8.noarch.rpm \
https://rpm.manageiq.org/builds/centos/centos-gpg-keys-8-6.1.el8.noarch.rpm ; fi && \
dnf -y --setopt=protected_packages= remove redhat-release && \
if [ ${ARCH} != "s390x" ] ; then dnf -y install --releasever 8 \
http://vault.centos.org/8-stream/BaseOS/${ARCH}/os/Packages/centos-gpg-keys-8-6.el8.noarch.rpm \
http://vault.centos.org/8-stream/BaseOS/${ARCH}/os/Packages/centos-stream-release-8.6-1.el8.noarch.rpm \
http://vault.centos.org/8-stream/BaseOS/${ARCH}/os/Packages/centos-stream-repos-8-6.el8.noarch.rpm && \
sed -i 's/mirrorlist=/#mirrorlist=/g' /etc/yum.repos.d/CentOS-*.repo && \
sed -i 's/#baseurl=http:\/\/mirror/baseurl=http:\/\/vault/g' /etc/yum.repos.d/CentOS-*.repo; fi && \
dnf -y install \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
https://rpm.manageiq.org/release/17-quinteros/el8/noarch/manageiq-release-17.0-1.el8.noarch.rpm && \
dnf -y module enable ruby:3.0 && \
dnf -y module enable nodejs:18 && \
dnf -y module disable virt:rhel && \
if [ ${ARCH} != "s390x" ] ; then dnf config-manager --setopt=ubi-8-*.exclude=rpm* --save; fi && \
if [ ${ARCH} != "s390x" ] ; then dnf config-manager --setopt=ubi-8-*.exclude=rpm*,ruby* --save; fi && \
dnf -y group install "development tools" && \
dnf config-manager --setopt=epel.exclude=*qpid-proton* --setopt=tsflags=nodocs --save && \
dnf -y install \
Expand Down

0 comments on commit 9858880

Please sign in to comment.