mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-12-06 19:29:21 +01:00
Add Dockerfile
This commit is contained in:
3
.dockerignore
Normal file
3
.dockerignore
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
target
|
||||||
|
.git
|
||||||
|
Dockerfile
|
||||||
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
FROM ekidd/rust-musl-builder AS builder
|
||||||
|
ADD . /home/rust/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
|
||||||
|
|
||||||
|
CMD alma
|
||||||
|
WORKDIR /work
|
||||||
Reference in New Issue
Block a user