From f4a5b960856a5b696092f0c488e86507f0999516 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Thu, 1 Aug 2019 13:19:38 +0300 Subject: [PATCH] No need to build the docker file with musl --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c66a5da..e84eb54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ -FROM ekidd/rust-musl-builder AS builder -ADD . /home/rust/src +FROM rust AS builder +ADD . /src +WORKDIR /src RUN cargo build --release FROM archlinux/base RUN pacman -Sy --needed --noconfirm gptfdisk parted arch-install-scripts dosfstools coreutils util-linux cryptsetup -COPY --from=builder /home/rust/src/target/x86_64-unknown-linux-musl/release/alma /usr/bin/alma +COPY --from=builder /src/target/release/alma /usr/bin/alma CMD alma WORKDIR /work