dave
070e3ceabf
All checks were successful
Gitea/docker-desktop/pipeline/head This commit looks good
25 lines
696 B
Docker
25 lines
696 B
Docker
FROM dockermirror:5000/ubuntu:focal
|
|
|
|
ENV _IMG_USERNAME=admin _IMG_PASSWORD=admin
|
|
|
|
ADD start /start
|
|
|
|
RUN apt-get update && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y locales && \
|
|
locale-gen en_US.UTF-8 && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y icewm xterm openssh-server supervisor && \
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y tightvncserver && \
|
|
mkdir /var/run/sshd && \
|
|
chmod +x /start
|
|
|
|
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
|
|
|
|
VOLUME ["/mnt/persist"]
|
|
|
|
ENTRYPOINT ["/start"]
|