diff --git a/centos/8/Dockerfile b/centos/8/Dockerfile index da95cf5..e526093 100644 --- a/centos/8/Dockerfile +++ b/centos/8/Dockerfile @@ -5,7 +5,8 @@ RUN set -x \ -e 's/^mirrorlist/#mirrorlist/g' \ -e 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' \ /etc/yum.repos.d/CentOS-* \ - && yum install -y ruby-devel rubygems gcc make rpmdevtools rpm-sign \ + && yum module -y enable ruby:3.0 \ + && yum install -y ruby rubygems gcc make rpmdevtools rpm-sign \ && gem install fpm -v 1.15.1 \ && yum clean all \ && mkdir /src