Skip to content

Commit

Permalink
updated Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalan committed Oct 5, 2024
1 parent 8996091 commit 1240a23
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,16 @@ RUN apt update && \
apt clean && \
rm --force --recursive /var/lib/apt/lists/* && \
cd /tmp && \
curl https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.4.tar.gz --output ruby-3.3.4.tar.gz && \
tar xzf ruby-3.3.4.tar.gz && \
rm --force ruby-3.3.4.tar.gz && \
cd ruby-3.3.4 && \
curl https://cache.ruby-lang.org/pub/ruby/3.3/ruby-3.3.5.tar.gz --output ruby-3.3.5.tar.gz && \
tar xzf ruby-3.3.5.tar.gz && \
rm --force ruby-3.3.5.tar.gz && \
cd ruby-3.3.5 && \
if [ "$BUILDARCH" = "arm64" ]; then ASFLAGS=-mbranch-protection=pac-ret; else ASFLAGS=; fi && \
ASFLAGS=${ASFLAGS} CFLAGS=-Os ./configure --disable-install-doc --enable-load-relative && \
make && \
make install && \
cd .. && \
rm --force --recursive ruby-3.3.4
rm --force --recursive ruby-3.3.5


# Install Ruby packages
Expand Down

0 comments on commit 1240a23

Please sign in to comment.