diff --git a/dev/fedora/22/rust/Dockerfile b/dev/fedora/22/rust/Dockerfile index 48b6793..8028eea 100644 --- a/dev/fedora/22/rust/Dockerfile +++ b/dev/fedora/22/rust/Dockerfile @@ -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 diff --git a/dev/fedora/22/rust/sudo b/dev/fedora/22/rust/sudo new file mode 100755 index 0000000..d86598e --- /dev/null +++ b/dev/fedora/22/rust/sudo @@ -0,0 +1,5 @@ +#!/bin/bash + +echo "Fake sudo! $*" + +exec $*