Skip to content

Commit 3f48b28

Browse files
committed
mold v1 installs to /usr/local instead of /usr
1 parent 723d76e commit 3f48b28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ COPY build-context/Cargo.toml /tmp/
2828
RUN awk -F' = ' '/ = /{print $2 " " $1}' /tmp/Cargo.toml | xargs -n2 -P$(nproc) cargo install --locked --version \
2929
&& sudo rm -rf /tmp/Cargo.toml "$CARGO_HOME/registry" \
3030
# && rustup toolchain list | awk '{print $1}' | xargs rustup uninstall \
31-
&& sudo install -m 755 -d /usr/{bin,lib}/mold
32-
COPY --from=mold /usr/bin/mold /usr/bin/mold/ld
33-
COPY --from=mold /usr/lib/mold /usr/lib/mold/
31+
&& sudo install -m 755 -d /usr/local/{bin,lib}/mold
32+
COPY --from=mold /usr/local/bin/mold /usr/local/bin/mold/ld
33+
COPY --from=mold /usr/local/lib/mold /usr/local/lib/mold/

0 commit comments

Comments
 (0)