mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-23 21:49:28 +02:00
12 lines
291 B
Docker
12 lines
291 B
Docker
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 /src/target/release/alma /usr/bin/alma
|
|
|
|
CMD alma
|
|
WORKDIR /work
|