From a6efeb9dffd9ed017fdf27c0174d039a4b22702f Mon Sep 17 00:00:00 2001 From: Johannes Schickling Date: Thu, 6 Nov 2014 13:04:36 +0100 Subject: [PATCH] path --- rust/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rust/Dockerfile b/rust/Dockerfile index acfb3c8..12fe1fa 100644 --- a/rust/Dockerfile +++ b/rust/Dockerfile @@ -5,9 +5,8 @@ MAINTAINER Johannes Schickling "schickling.j@gmail.com" RUN apt-get update && apt-get install -y curl g++-multilib lib32stdc++6 # install rust & cargo -RUN mkdir /opt/rust && curl -sL https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz | tar xvz -C /opt/rust -RUN bash -c "ln -s /opt/rust/bin/{rustc,rustdoc} /usr/local/bin/" -RUN ls /opt/rust/bin +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/" # cleanup package manager RUN apt-get remove --purge -y curl && apt-get autoclean && apt-get clean