feat(rust): add rust compiler

This commit is contained in:
2019-08-19 18:28:06 +02:00
parent 520c35bbfe
commit f7af2d5785
4 changed files with 30 additions and 6 deletions

View File

@ -5,4 +5,12 @@ RUN pacman --sync \
--noconfirm \
--sysupgrade go gcc make git go-bindata
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}'
WORKDIR /workspace