Skip to content

Commit f91ac2d

Browse files
author
Claudio Raimondi
committed
Fix arm64 cargo plugin installation [skip ci]
1 parent 57adac4 commit f91ac2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,13 @@ ARG COPTFLAGS="-O2 ${COPTFLAGS}"
145145
WORKDIR /opt
146146

147147
RUN ./install-uv.sh -q
148-
RUN ./install-rust.sh -y -q --profile minimal --component rustfmt --target ${target_arch_rust}
148+
RUN ./install-rust.sh -y -q --profile minimal --component rustfmt --target ${target_arch_rust} --default-host=${target_arch_rust}
149149

150150
ENV PATH="/root/.cargo/bin:/root/.local/bin:${PATH}"
151151

152152
WORKDIR /opt/lightningd
153153

154+
#TODO: set these in env instead of file?
154155
RUN mkdir -p .cargo && tee .cargo/config.toml <<EOF
155156
[target.${target_arch_rust}]
156157
linker = "${target_arch}-gcc"

0 commit comments

Comments
 (0)