Skip to content

Commit

Permalink
shrunk ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed Nov 19, 2023
1 parent f9fdda6 commit d542104
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN cd /tmp && \
tar xzf Python-3.12.0.tgz && \
rm --force Python-3.12.0.tgz && \
cd Python-3.12.0 && \
./configure --enable-optimizations --without-tests && \
CFLAGS="-Os" ./configure --enable-optimizations --without-tests && \
make && \
make install && \
cd .. && \
Expand All @@ -40,7 +40,7 @@ RUN apt update && \
tar xzf ruby-3.2.2.tar.gz && \
rm --force ruby-3.2.2.tar.gz && \
cd ruby-3.2.2 && \
./configure && \
CFLAGS="-Os" ./configure --disable-install-doc --enable-load-relative && \
make && \
make install && \
cd .. && \
Expand All @@ -49,13 +49,13 @@ RUN apt update && \

# Install Ruby packages
RUN apt install --yes git
RUN gem install \
bundler \
RUN gem install --no-document \
jekyll \
minitest `# So that Bundler needn't install` \
minitest `# So that Bundler needn't install` \
pygments.rb \
specific_install && \
gem specific_install https://github.com/cs50/jekyll-theme-cs50 develop
gem specific_install https://github.com/cs50/jekyll-theme-cs50 develop && \
gem cleanup
# Install SQLite 3.4x
Expand Down

0 comments on commit d542104

Please sign in to comment.