f22: add tini
This commit is contained in:
parent
30b0a4fd70
commit
169bf83433
|
@ -1,7 +1,7 @@
|
||||||
FROM fedora:22
|
FROM fedora:22
|
||||||
|
|
||||||
RUN dnf -y groupinstall "Development Tools" &&\
|
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 && \
|
useradd --create-home xena && \
|
||||||
echo 'root:screencast' | chpasswd && \
|
echo 'root:screencast' | chpasswd && \
|
||||||
echo 'xena:user' | chpasswd && \
|
echo 'xena:user' | chpasswd && \
|
||||||
|
@ -35,5 +35,11 @@ RUN dnf -y install dnf-plugins-core &&\
|
||||||
yes | dnf copr enable avsej/nim &&\
|
yes | dnf copr enable avsej/nim &&\
|
||||||
dnf -y install 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
|
USER xena
|
||||||
CMD /bin/zsh
|
CMD /bin/zsh
|
||||||
|
|
Loading…
Reference in New Issue