remove fake sudo after installing rust

This commit is contained in:
Christine Dodrill 2015-08-19 13:57:41 -07:00
parent ac546902d2
commit 40794577d4
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ FROM xena/base
USER root USER root
ADD ./sudo /bin/sudo ADD ./sudo /bin/sudo
RUN wget https://static.rust-lang.org/rustup.sh -O /rust.sh &&\ RUN wget https://static.rust-lang.org/rustup.sh -O /rust.sh &&\
yes | bash /rust.sh -y yes | bash /rust.sh -y &&\
rm /bin/sudo
USER xena USER xena
CMD /bin/zsh CMD /bin/zsh