Update Dockerfile to install Rust dependencies

This commit is contained in:
Nils Andreas Svee authored and GitHub committed 2026-04-22 01:00:23 +07:00
1 parent 28bc3a175d
commit dd394d7a57
1 file changed
+3 -2
+3 -2
View File
@@ -4,8 +4,9 @@ ARG VERSION
FROM ghcr.io/openwrt/sdk:${SAFE_TARGET}-${VERSION}
RUN ./scripts/feeds update packages && \
./scripts/feeds install rust && \
make defconfig && \
{ make package/feeds/packages/rust/host-compile -j$(nproc) || \
make package/feeds/packages/rust/host-compile -j1 V=sc; } && \
{ make package/rust/host/compile -j$(nproc) || \
make package/rust/host/compile -j1 V=sc; } && \
rm -rf build_dir/host/rustc-*/rustc-*/build \
dl/rustc-*.tar.*