-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
23 lines (20 loc) · 927 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM debian:jessie
MAINTAINER John Goerzen <[email protected]>
MAINTAINER Bosi Federico <[email protected]>
# VNC doesn't start without xfonts-base
RUN sed -i 's/main/main contrib/g' /etc/apt/sources.list && \
apt-get update && \
apt-get -y -u dist-upgrade && \
apt-get -y --force-yes --no-install-recommends install dosbox tightvncserver xfonts-base \
lwm xterm vim-tiny less wget ca-certificates balance \
supervisor dosemu zip unzip pwgen xdotool telnet mtools nano && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY startvnc /usr/local/bin
COPY dosboxconsole /usr/local/bin
COPY supervisor/ /etc/supervisor/conf.d/
COPY setup.sh /
RUN /setup.sh
# Dosemu was just used to grab FreeDOS stuff.
RUN dpkg --purge dosemu && apt-get -y --purge autoremove && rm /setup.sh
EXPOSE 5901
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"]