Fix rust
This commit is contained in:
parent
63d6667c7e
commit
ac546902d2
|
@ -1,5 +1,9 @@
|
||||||
FROM xena/base
|
FROM xena/base
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
RUN yes | dnf copr enable alonid/rust &&\
|
ADD ./sudo /bin/sudo
|
||||||
dnf install -y rust
|
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