2022-06-05 16:48:54 -07:00
|
|
|
FROM dockermirror:5000/ubuntu:focal
|
2016-07-05 11:58:52 -07:00
|
|
|
|
|
|
|
ENV _IMG_USERNAME=admin _IMG_PASSWORD=admin
|
|
|
|
|
|
|
|
ADD start /start
|
|
|
|
|
2022-06-05 16:48:54 -07:00
|
|
|
RUN apt-get update && \
|
2022-06-06 21:38:08 -07:00
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y locales && \
|
|
|
|
locale-gen en_US.UTF-8 && \
|
2022-06-05 16:48:54 -07:00
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y icewm xterm openssh-server supervisor && \
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y tightvncserver && \
|
2016-07-13 22:54:02 -07:00
|
|
|
mkdir /var/run/sshd && \
|
|
|
|
chmod +x /start
|
|
|
|
|
2016-07-05 11:58:52 -07:00
|
|
|
EXPOSE 22
|
|
|
|
EXPOSE 5900
|
|
|
|
|
|
|
|
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|
|
|
COPY supervisor-sshd.conf /etc/supervisor/conf.d/sshd.conf
|
|
|
|
#COPY supervisor-vncd.conf /etc/supervisor/conf.d/vncd.conf
|
|
|
|
|
2016-07-13 22:45:06 -07:00
|
|
|
VOLUME ["/mnt/persist"]
|
|
|
|
|
2016-07-05 11:58:52 -07:00
|
|
|
ENTRYPOINT ["/start"]
|