We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd88a9c commit d3f126cCopy full SHA for d3f126c
builders/wasm32-unknown-wasip1/Dockerfile
@@ -34,6 +34,17 @@ RUN set -eux pipefail; \
34
sh -s -- -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION; \
35
chmod -R a+w $RUSTUP_HOME $CARGO_HOME
36
37
+# Install the latest Ruby to use the latest Bundler for cross-building C extension gems.
38
+ADD --keep-git-dir=true https://github.com/ruby/ruby.git /buildruby
39
+RUN set -eux; \
40
+ cd /buildruby; \
41
+ ./autogen.sh; \
42
+ ./configure --prefix=/usr/local --disable-install-doc; \
43
+ make -j$(nproc); \
44
+ make install; \
45
+ cd /; \
46
+ rm -rf /buildruby
47
+
48
ENV BUNDLE_PATH=/usr/local/gems
49
RUN set -eux; \
50
mkdir -p $BUNDLE_PATH; \
0 commit comments