fix: add additional pacman mirrors

This commit is contained in:
2020-06-01 17:01:46 +02:00
parent 2519b43cc5
commit bfc79fc742
4 changed files with 23 additions and 14 deletions

View File

@ -1,15 +1,16 @@
FROM archlinux/base:latest
COPY installation-scripts /tmp/installation-scripts
RUN /tmp/installation-scripts/00-pacman-mirror.sh
RUN pacman --sync \
--refresh \
--noconfirm \
--sysupgrade go gcc make git which zip
--sysupgrade go gcc make git rpm-builder which zip
ENV PATH="/root/.cargo/bin:/root/go/bin:${PATH}"
COPY installation-scripts /tmp/installation-scripts
RUN chmod +x /tmp/installation-scripts/* && \
for f in $(ls /tmp/installation-scripts); do /tmp/installation-scripts/$f; done && \
RUN for f in {01-rustup.sh,02-github-release.sh,03-go-bindata.sh}; do /tmp/installation-scripts/$f; done && \
rm --recursive --force /tmp/installation-scripts
WORKDIR /workspace