feat(linker): Add cargo linker to dockerfile
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Andreas Mieke 2024-11-21 01:41:39 -05:00
parent 56c1c804e6
commit cd2cf79ccf
Signed by: zenermerps
SSH key fingerprint: SHA256:Ne+hwc5QIgYlqCuLZ0LV3301Wo/p8UoGOrGC+T6S0t8

View file

@ -6,4 +6,5 @@ RUN git clone https://github.com/OnionIoT/source.git
COPY openwrt-build-config source/.config
ENV FORCE_UNSAFE_CONFIGURE=1
RUN cd source && make -j12
ENV CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_LINKER=/source/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl/bin/mipsel-openwrt-linux-musl-gcc
RUN cd source && make -j12