This commit is contained in:
Christine Dodrill 2015-08-19 13:46:58 -07:00
parent 63d6667c7e
commit ac546902d2
2 changed files with 11 additions and 2 deletions

View File

@ -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

5
dev/fedora/22/rust/sudo Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
echo "Fake sudo! $*"
exec $*