Skip to content

Commit 6beba75

Browse files
author
Ino Murko
authored
cleanup (#59)
1 parent a96ae96 commit 6beba75

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

builder/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ RUN set -xe \
7171
ENV 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

7677
RUN set -eux; \
7778
url="https://static.rust-lang.org/rustup/archive/1.22.1/x86_64-unknown-linux-musl/rustup-init"; \

builder_childchain/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ RUN set -xe \
6868
ENV 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

7374
RUN set -eux; \
7475
url="https://static.rust-lang.org/rustup/archive/1.22.1/x86_64-unknown-linux-musl/rustup-init"; \

0 commit comments

Comments
 (0)