File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,8 @@ RUN set -xe \
7171ENV RUSTUP_HOME=/usr/local/rustup \
7272 CARGO_HOME=/usr/local/cargo \
7373 PATH=/usr/local/cargo/bin:$PATH \
74- RUST_VERSION=1.46.0
74+ RUST_VERSION=1.46.0 \
75+ RUSTFLAGS="-C target-feature=-crt-static"
7576
7677RUN set -eux; \
7778 url="https://static.rust-lang.org/rustup/archive/1.22.1/x86_64-unknown-linux-musl/rustup-init" ; \
Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ RUN set -xe \
6868ENV RUSTUP_HOME=/usr/local/rustup \
6969 CARGO_HOME=/usr/local/cargo \
7070 PATH=/usr/local/cargo/bin:$PATH \
71- RUST_VERSION=1.46.0
71+ RUST_VERSION=1.46.0 \
72+ RUSTFLAGS="-C target-feature=-crt-static"
7273
7374RUN set -eux; \
7475 url="https://static.rust-lang.org/rustup/archive/1.22.1/x86_64-unknown-linux-musl/rustup-init" ; \
You can’t perform that action at this time.
0 commit comments