[#24] Added musl target to release builder

This commit is contained in:
Jef Roosens 2021-04-17 10:32:16 +02:00
parent f381c5b910
commit 5746d29556
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30

View file

@ -7,7 +7,10 @@ FROM chewingbever/fej-builder:latest AS builder
# NOTE: cargo install auto-appends bin to the path
RUN --mount=type=cache,target=/usr/src/app/target \
--mount=type=cache,target=/root/.cargo/registry \
cargo install --path . --root /usr/local
cargo install \
--path . \
--root /usr/local \
--target x86_64-unknown-linux-musl
# Now, we create the actual image