feat: self dockerisation dev Dockefile

This commit is contained in:
Jack Wills
2022-09-06 14:38:29 +00:00
parent d6e2026eec
commit 211f481c38
4 changed files with 16 additions and 2 deletions
+1
View File
@@ -6,6 +6,7 @@ FROM --platform=linux/amd64 rust:slim as builder
ARG TARGETARCH
# These are build platform depandant, but will be ignored if not needed
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_LINKER="aarch64-linux-gnu-gcc"
ENV CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS="-C target-feature=+crt-static -C link-arg=-lgcc"
ENV CARGO_TARGET_ARM_UNKNOWN_LINUX_MUSLEABIHF_LINKER="arm-linux-gnueabihf-ld"