Skip to content

Commit

Permalink
Bump alpine build, move ruby-dev to cosmos-ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthomas committed May 24, 2022
1 parent 750a34d commit 2b660ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 4 additions & 1 deletion cosmos-ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand Down
1 change: 0 additions & 1 deletion cosmos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 2b660ad

Please sign in to comment.