From 169bf83433c3f68d845a4fb2f5b7f5c7354f2690 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Thu, 16 Jul 2015 20:12:53 +0000 Subject: [PATCH] f22: add tini --- dev/fedora/22/base/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev/fedora/22/base/Dockerfile b/dev/fedora/22/base/Dockerfile index 9b8ac32..918f025 100644 --- a/dev/fedora/22/base/Dockerfile +++ b/dev/fedora/22/base/Dockerfile @@ -1,7 +1,7 @@ FROM fedora:22 RUN dnf -y groupinstall "Development Tools" &&\ - dnf -y install tar zsh git python wget openssl-devel vim-enhanced tmux dtach cmake python-devel mercurial lua luarocks gcc-c++ xz clang-devel &&\ + dnf -y install tar zsh git python wget openssl-devel vim-enhanced tmux dtach cmake python-devel mercurial lua luarocks gcc-c++ xz clang-devel php &&\ useradd --create-home xena && \ echo 'root:screencast' | chpasswd && \ echo 'xena:user' | chpasswd && \ @@ -35,5 +35,11 @@ RUN dnf -y install dnf-plugins-core &&\ yes | dnf copr enable avsej/nim &&\ dnf -y install nim +# Add Tini +ENV TINI_VERSION v0.5.0 +ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini +RUN chmod +x /tini +ENTRYPOINT ["/tini", "--"] + USER xena CMD /bin/zsh