Fix rust
This commit is contained in:
parent
63d6667c7e
commit
ac546902d2
|
@ -1,5 +1,9 @@
|
|||
FROM xena/base
|
||||
|
||||
USER root
|
||||
RUN yes | dnf copr enable alonid/rust &&\
|
||||
dnf install -y rust
|
||||
ADD ./sudo /bin/sudo
|
||||
RUN wget https://static.rust-lang.org/rustup.sh -O /rust.sh &&\
|
||||
yes | bash /rust.sh -y
|
||||
|
||||
USER xena
|
||||
CMD /bin/zsh
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Fake sudo! $*"
|
||||
|
||||
exec $*
|
Loading…
Reference in New Issue