ansible-zsh-chic/Dockerfile
2020-08-07 19:59:07 +02:00

21 lines
473 B
Docker

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"]