diff --git a/Dockerfile b/Dockerfile index 4224d24..d8fd3d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +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