Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 3e4d806

Browse files
committed
Configure rust
1 parent e16d4f3 commit 3e4d806

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/docuum/Dockerfile.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ WORKDIR /tmp/github.com/stepchowfun/docuum
1010
ARG name
1111
ARG version
1212
RUN <<EOF
13+
source /etc/profile.d/cargo.sh
14+
source /etc/profile.d/cargo-env.sh
1315
git clone -q --config advice.detachedHead=false --depth 1 --branch "v${version}" https://github.com/stepchowfun/docuum .
1416
export RUSTFLAGS='-C target-feature=+crt-static'
1517
cargo build --release --target x86_64-unknown-linux-gnu

0 commit comments

Comments
 (0)