File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \
7
7
/etc/profile.d/ \
8
8
/etc/profile.d/
9
9
SHELL [ "bash", "-clo", "errexit" ]
10
- COPY --from=rust / /usr/local/
10
+ COPY --link -- from=rust / /usr/local/
11
11
ARG DEBIAN_FRONTEND=noninteractive
12
12
RUN <<EOF
13
13
apt-get update
@@ -18,8 +18,9 @@ WORKDIR /tmp/github.com/stephenc/envsub
18
18
ARG name
19
19
ARG version
20
20
RUN <<EOF
21
- source "/usr/local/etc/profile.d/cargo.sh"
22
21
git clone -q --config advice.detachedHead=false --depth 1 --branch "${version}" https://github.com/stephenc/envsub .
22
+ export CARGO_HOME=/usr/local/cargo
23
+ export RUSTUP_HOME=/usr/local/rustup
23
24
cargo build --release --target x86_64-unknown-linux-gnu
24
25
cp target/x86_64-unknown-linux-gnu/release/envsub "${prefix}${target}/bin/"
25
26
EOF
You can’t perform that action at this time.
0 commit comments