Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
r-darwish committed Jul 25, 2019
1 parent 182a7a6 commit ed980a3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
target
.git
Dockerfile
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ed980a3

Please sign in to comment.