mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-25 14:39:29 +02:00
No need to build the docker file with musl
This commit is contained in:
parent
7007706b67
commit
f4a5b96085
@ -1,10 +1,11 @@
|
|||||||
FROM ekidd/rust-musl-builder AS builder
|
FROM rust AS builder
|
||||||
ADD . /home/rust/src
|
ADD . /src
|
||||||
|
WORKDIR /src
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
FROM archlinux/base
|
FROM archlinux/base
|
||||||
RUN pacman -Sy --needed --noconfirm gptfdisk parted arch-install-scripts dosfstools coreutils util-linux cryptsetup
|
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
|
CMD alma
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
|
Loading…
x
Reference in New Issue
Block a user