You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
473 B
21 lines
473 B
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"]
|