build-image/Dockerfile

16 lines
431 B
Docker
Raw Normal View History

2019-04-18 15:33:44 +00:00
FROM archlinux/base:latest
RUN pacman --sync \
--refresh \
--noconfirm \
2019-06-15 16:42:16 +00:00
--sysupgrade go gcc make git go-bindata
2019-04-18 15:33:44 +00:00
2019-08-19 16:28:06 +00:00
RUN curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup.sh && \
chmod +x /tmp/rustup.sh && \
/tmp/rustup.sh -y && \
source ${HOME}/.cargo/env && \
rustup target add x86_64-unknown-linux-musl
ENV PATH='/root/.cargo/bin:${PATH}'
2019-04-18 15:33:44 +00:00
WORKDIR /workspace