build-image/Dockerfile

15 lines
436 B
Docker

FROM archlinux/base:latest
RUN pacman --sync \
--refresh \
--noconfirm \
--sysupgrade go gcc make git which
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 && \
rm -rf /tmp/installation-scripts
WORKDIR /workspace