ansible-zsh-chic/Dockerfile

21 lines
473 B
Docker
Raw Permalink Normal View History

2020-08-07 19:59:07 +02:00
FROM debian:buster
ARG UID 1000
ARG GID 1000
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y \
openssh-server \
supervisord \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -fr /var/lib/apt/lists/* \
&& groupadd -g ${GID} chic \
&& useradd -u ${UID} -g ${GID} plinio
COPY docker/supervisord.conf /etc/supervisord.conf
EXPOSE 2222
ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]