build-image/Dockerfile

16 lines
495 B
Docker
Raw Normal View History

2019-04-18 15:33:44 +00:00
FROM archlinux/base:latest
2020-06-01 15:01:46 +00:00
COPY installation-scripts /tmp/installation-scripts
RUN /tmp/installation-scripts/00-pacman-mirror.sh
2019-04-18 15:33:44 +00:00
RUN pacman --sync \
--refresh \
--noconfirm \
2020-06-01 15:01:46 +00:00
--sysupgrade go gcc make git rpm-builder which zip
2019-04-18 15:33:44 +00:00
ENV PATH="/root/.cargo/bin:/root/go/bin:${PATH}"
2019-08-19 16:28:06 +00:00
2020-06-01 15:01:46 +00:00
RUN for f in {01-rustup.sh,02-github-release.sh,03-go-bindata.sh}; do /tmp/installation-scripts/$f; done && \
2020-06-01 14:30:59 +00:00
rm --recursive --force /tmp/installation-scripts
2019-08-19 16:28:06 +00:00
2019-04-18 15:33:44 +00:00
WORKDIR /workspace