remove fake sudo after installing rust
This commit is contained in:
parent
ac546902d2
commit
40794577d4
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue