Skip to content

Commit

Permalink
refactor: Make the Ruby image lighter
Browse files Browse the repository at this point in the history
Users will have to install build/dev tools on their own, if needed.
  • Loading branch information
fabschurt committed Sep 13, 2024
1 parent 2d8528d commit 08a8ffb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ruby/ruby3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ LABEL \

RUN \
apk add --no-cache \
build-base \
ca-certificates \
curl \
git \
Expand All @@ -18,8 +17,9 @@ RUN \
tar \
unzip \
ruby \
ruby-dev \
ruby-doc \
ruby-rdoc \
ruby-rake \
ruby-bundler

ONBUILD ARG RUNTIME_USER_ID=1000
Expand Down Expand Up @@ -47,6 +47,7 @@ CMD \
[ "$(pwd)" = '/opt/app' ] && \
ruby --version && \
irb --version && \
rake --version && \
gem --version && \
bundler --version

Expand Down

0 comments on commit 08a8ffb

Please sign in to comment.