Skip to content

Commit 22c0a0c

Browse files
committed
fix: rust linker
1 parent cc244d6 commit 22c0a0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ RUN dnf update -y && \
1818
htop \
1919
podman slirp4netns fuse-overlayfs --exclude container-selinux && \
2020
dnf reinstall -y shadow-utils && \
21+
ln -s /usr/bin/ld.bfd /usr/bin/ld && \
2122
dnf clean all && \
2223
rm -rf /var/cache /var/log/dnf* /var/log/yum.*
2324

@@ -107,7 +108,6 @@ USER queil
107108

108109
FROM base as rust
109110

110-
RUN ln -s /usr/bin/ld.bfd /usr/bin/ld && \
111-
curl https://sh.rustup.rs -sSf | bash -s -- -y
111+
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
112112

113113
ENV PATH="${PATH}:${HOME}/.cargo/bin"

0 commit comments

Comments
 (0)