2020-06-06 15:24:05 +00:00
|
|
|
ARG BASE_IMAGE
|
|
|
|
|
|
|
|
FROM ${BASE_IMAGE}
|
2019-04-18 15:33:44 +00:00
|
|
|
|
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-06 15:24:05 +00:00
|
|
|
--sysupgrade docker go gcc make git rpm-builder which zip
|
2019-04-18 15:33:44 +00:00
|
|
|
|
2019-08-25 19:08:16 +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
|