Skip to content

Commit 0c7665a

Browse files
Merge pull request #595 from ruby/katei/install-baseruby34
2 parents 8a49b71 + 38b1e94 commit 0c7665a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

builders/wasm32-unknown-emscripten/Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ RUN set -eux pipefail; \
3030
sh -s -- -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION; \
3131
chmod -R a+w $RUSTUP_HOME $CARGO_HOME
3232

33+
ADD https://cache.ruby-lang.org/pub/ruby/3.4/ruby-3.4.1.tar.gz /buildruby.tar.gz
34+
RUN set -eux; \
35+
mkdir /buildruby; \
36+
tar -xf /buildruby.tar.gz -C /buildruby --strip-components=1; \
37+
rm /buildruby.tar.gz; \
38+
cd /buildruby; \
39+
mkdir -p /opt/ruby; \
40+
./configure --prefix=/opt/ruby --disable-install-doc; \
41+
make -j$(nproc); \
42+
make install; \
43+
cd /; \
44+
rm -rf /buildruby
45+
ENV PATH=/opt/ruby/bin:$PATH
46+
3347
ENV BUNDLE_PATH=/usr/local/gems
3448
RUN set -eux; \
3549
mkdir -p $BUNDLE_PATH; \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy