🎉 init
This commit is contained in:
commit
e5135dc9e4
13 changed files with 4678 additions and 0 deletions
24
Dockerfile
Normal file
24
Dockerfile
Normal file
|
@ -0,0 +1,24 @@
|
|||
FROM rust:buster as builder
|
||||
|
||||
RUN rustup default nightly
|
||||
|
||||
COPY ./Cargo.toml /app/Cargo.toml
|
||||
COPY ./Cargo.lock /app/Cargo.lock
|
||||
COPY ./src /app/src
|
||||
COPY ./migrations /app/migrations
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
FROM archlinux
|
||||
|
||||
RUN pacman -Syu --noconfirm base-devel openssl-1.1 git curl rsync systemd arch-install-scripts
|
||||
|
||||
COPY ./pacman.conf /etc/pacman.conf
|
||||
|
||||
COPY --from=builder /app/target/release/pacco-makepkg /pacco-makepkg
|
||||
|
||||
WORKDIR /
|
||||
|
||||
CMD ["/pacco-makepkg"]
|
Loading…
Add table
Add a link
Reference in a new issue