From 5746d295564aabff2410344f278184e4bb85a28a Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sat, 17 Apr 2021 10:32:16 +0200 Subject: [PATCH] [#24] Added musl target to release builder --- docker/Dockerfile.rel | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile.rel b/docker/Dockerfile.rel index b64916a..e293ccc 100644 --- a/docker/Dockerfile.rel +++ b/docker/Dockerfile.rel @@ -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