load cargo env
Some checks failed
Build container images / build (push) Failing after 1m44s

This commit is contained in:
James Brumond 2023-11-02 23:21:44 -07:00
parent bd7029a7c6
commit 0a0c3cbb3c
Signed by: james
GPG Key ID: E8F2FC44BAA3357A

View File

@ -9,6 +9,7 @@ RUN apt install -y g++-mingw-w64-x86-64 \
g++-aarch64-linux-gnu libc6-dev-arm64-cross
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
RUN source "$HOME/.cargo/env"
ENV CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc \
CC_armv7_unknown_Linux_gnueabihf=arm-linux-gnueabihf-gcc \