Removed archlinux from build (it doesn't work anymore

This commit is contained in:
veeso
2021-02-28 16:01:07 +01:00
parent 7817295d8e
commit d165b699f0
3 changed files with 28 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
FROM archlinux/archlinux:base-20210110.0.13332 as builder
FROM archlinux:base-20210120.0.13969 as builder
WORKDIR /usr/src/
# Install dependencies
@@ -8,15 +8,15 @@ RUN pacman -Syu --noconfirm \
openssl \
pkg-config \
sudo
# 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
# Create build user
RUN useradd build -m && \
passwd -d build && \
mkdir -p termscp && \
chown -R build.build termscp/
# Install rust
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rust.sh && \
chmod +x ./rust.sh && \
./rust.sh -y
# Clone repository
RUN git clone https://github.com/veeso/termscp.git
# Set workdir to termscp