mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
archlinux dist
This commit is contained in:
25
dist/build/x86_64_archlinux/Dockerfile
vendored
Normal file
25
dist/build/x86_64_archlinux/Dockerfile
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
FROM archlinux/archlinux:latest as builder
|
||||
|
||||
WORKDIR /usr/src/
|
||||
# Install dependencies
|
||||
RUN pacman -Syu --noconfirm \
|
||||
git \
|
||||
gcc \
|
||||
openssl \
|
||||
pkg-config
|
||||
# Install rust
|
||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rust.sh && \
|
||||
chmod +x /tmp/rust.sh && \
|
||||
/tmp/rust.sh -y
|
||||
# Clone repository
|
||||
RUN git clone https://github.com/ChristianVisintin/termscp.git
|
||||
# Set workdir to termscp
|
||||
WORKDIR /usr/src/termscp/
|
||||
# Install cargo arxch
|
||||
RUN source $HOME/.cargo/env && cargo install cargo-aur
|
||||
# Build for x86_64
|
||||
RUN source $HOME/.cargo/env && cargo build --release
|
||||
# Build pkgs
|
||||
RUN source $HOME/.cargo/env && cargo aur
|
||||
|
||||
CMD ["sh"]
|
||||
Reference in New Issue
Block a user