diff --git a/lazyDir/centos7.Dockerfile b/lazyDir/centos7.Dockerfile index da1ff9d..75d1e0d 100644 --- a/lazyDir/centos7.Dockerfile +++ b/lazyDir/centos7.Dockerfile @@ -23,18 +23,20 @@ # Import local GPG keys and enable epel repo RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 && \ yum -q clean expire-cache && \ - yum -q -y update && \ - yum -y install --setopt=tsflags=nodocs epel-release && \ + yum -q makecache && \ + yum -y install --setopt=tsflags=nodocs \ + epel-release \ + && \ rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 && \ yum -q -y clean all --enablerepo='*' # Install common requirements RUN yum -q clean expire-cache && \ - yum -q -y update && \ + yum -q makecache && \ yum -y install --setopt=tsflags=nodocs \ git \ - wget \ unzip \ + wget \ which \ && \ yum -q -y clean all --enablerepo='*' @@ -44,9 +46,14 @@ rpm --import http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs && \ rpm --import http://yum.mariadb.org/RPM-GPG-KEY-MariaDB +# Add internal CA +RUN wget -q https://share.qiy.nl/public/certs/ca-digital-me-private-2026.crt -O /etc/pki/ca-trust/source/anchors/ca-digital-me-internal.pem && \ + update-ca-trust force-enable && \ + update-ca-trust extract + # Enable Software Collections RUN yum -q clean expire-cache && \ - yum -q -y update && \ + yum -q makecache && \ yum -y install --setopt=tsflags=nodocs \ centos-release-scl \ scl-utils-build \ @@ -56,19 +63,19 @@ # Install Ruby 2.6 from SCLO repo RUN yum -q clean expire-cache && \ - yum -q -y update && \ + yum -q makecache && \ yum -y install --setopt=tsflags=nodocs \ rh-ruby26-ruby \ - rh-ruby26-ruby-libs \ rh-ruby26-ruby-devel \ - rh-ruby26-rubygems \ + rh-ruby26-ruby-libs \ rh-ruby26-rubygem-bundler \ + rh-ruby26-rubygems \ && \ yum -q -y clean all --enablerepo='*' # Install extra dev tools RUN yum -q clean expire-cache && \ - yum -q -y update && \ + yum -q makecache && \ yum -y install --setopt=tsflags=nodocs \ gcc \ gcc-c++ \ @@ -79,7 +86,7 @@ # Install NodeJS 10 from SCLO repo RUN yum -q clean expire-cache && \ - yum -q -y update && \ + yum -q makecache && \ yum -y install --setopt=tsflags=nodocs \ rh-nodejs10-nodejs \ rh-nodejs10-npm \