From ac546902d24e41aecf73ba2bd9eb8b4b0fa4d7fb Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 19 Aug 2015 13:46:58 -0700 Subject: [PATCH] Fix rust --- dev/fedora/22/rust/Dockerfile | 8 ++++++-- dev/fedora/22/rust/sudo | 5 +++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100755 dev/fedora/22/rust/sudo 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 $*