update
This commit is contained in:
parent
221b2a82e7
commit
2ed9cd25a3
7 changed files with 126 additions and 7 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
FROM rust:buster as builder
|
||||
|
||||
RUN rustup default nightly
|
||||
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM archlinux
|
||||
|
||||
RUN pacman -Syu --noconfirm
|
||||
|
||||
COPY --from=builder /app/target/release/pacco /pacco
|
||||
|
||||
WORKDIR /
|
||||
|
||||
CMD ["/pacco"]
|
Loading…
Add table
Add a link
Reference in a new issue