diff --git a/.env b/.env index e65eff934..fd2558b89 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ ALPINE_VERSION=3.15 -ALPINE_BUILD=0 +ALPINE_BUILD=4 APK_URL=https://dl-cdn.alpinelinux.org RUBYGEMS_URL=https://rubygems.org NPM_URL=https://registry.npmjs.org diff --git a/cosmos-ruby/Dockerfile b/cosmos-ruby/Dockerfile index 19bfae21b..718a28db4 100644 --- a/cosmos-ruby/Dockerfile +++ b/cosmos-ruby/Dockerfile @@ -39,6 +39,9 @@ RUN cp /root/.gemrc /etc/.gemrc RUN apk update \ && apk add ruby \ + build-base \ + ruby-dev \ + libressl-dev \ ruby-etc \ ruby-bigdecimal \ ruby-io-console \ @@ -52,7 +55,7 @@ RUN apk update \ git \ libxml2-dev \ libxslt-dev \ - && gem update --system 3.3.13 \ + && gem update --system 3.3.14 \ && gem install rake \ && gem cleanup \ && bundle config build.nokogiri --use-system-libraries \ diff --git a/cosmos/Dockerfile b/cosmos/Dockerfile index 80751f6ff..d01444eac 100644 --- a/cosmos/Dockerfile +++ b/cosmos/Dockerfile @@ -13,7 +13,6 @@ USER root RUN mkdir -p lib/cosmos/ext \ && git config --global http.sslCAinfo /devel/cacert.pem \ - && apk add build-base ruby-dev libressl-dev \ && bundle config set --local without 'development' \ && bundle install --quiet \ && rake gems \