|
@ -5,8 +5,8 @@ MAINTAINER Johannes Schickling "schickling.j@gmail.com" |
|
|
RUN apt-get update && apt-get install -y curl g++-multilib lib32stdc++6 |
|
|
RUN apt-get update && apt-get install -y curl g++-multilib lib32stdc++6 |
|
|
|
|
|
|
|
|
# install rust & cargo |
|
|
# install rust & cargo |
|
|
RUN curl -sL https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz | tar xvz -C /opt |
|
|
|
|
|
RUN bash -c "ln -s /opt/rust-nightly-x86_64-unknown-linux-gnu/bin/{rustc,rustdoc} /usr/local/bin/" |
|
|
|
|
|
|
|
|
RUN curl -sL https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz | tar xvz -C /tmp |
|
|
|
|
|
RUN /tmp/rust-nightly-x86_64-unknown-linux-gnu/install.sh |
|
|
|
|
|
|
|
|
# cleanup package manager |
|
|
# cleanup package manager |
|
|
RUN apt-get remove --purge -y curl && apt-get autoclean && apt-get clean |
|
|
RUN apt-get remove --purge -y curl && apt-get autoclean && apt-get clean |
|
|