Update Rust host compilation command in Dockerfile
This commit is contained in:
1 parent
c27ffdb668
commit
28bc3a175d
1 file changed
+2
-1
+2
-1
@@ -5,6 +5,7 @@ FROM ghcr.io/openwrt/sdk:${SAFE_TARGET}-${VERSION}
|
|||||||
|
|
||||||
RUN ./scripts/feeds update packages && \
|
RUN ./scripts/feeds update packages && \
|
||||||
make defconfig && \
|
make defconfig && \
|
||||||
make package/feeds/packages/rust/host-compile -j$(nproc) && \
|
{ make package/feeds/packages/rust/host-compile -j$(nproc) || \
|
||||||
|
make package/feeds/packages/rust/host-compile -j1 V=sc; } && \
|
||||||
rm -rf build_dir/host/rustc-*/rustc-*/build \
|
rm -rf build_dir/host/rustc-*/rustc-*/build \
|
||||||
dl/rustc-*.tar.*
|
dl/rustc-*.tar.*
|
||||||
Reference in new issue
Block a user