Initial commit
This commit is contained in:
+33
@@ -0,0 +1,33 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM jayfield/novnc-baseimage
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install --no-install-recommends dosbox unzip alsa-utils smbclient && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN openssl req -x509 -nodes -newkey rsa:2048 -keyout /tmp/novnc.key -out /tmp/novnc.pem -days 3650 -subj "/C=US/ST=NY/L=NY/O=NY/OU=NY/CN=NY emailAddress=email@example.com"
|
||||
ENV DISPLAY_NUM=99
|
||||
ENV DISPLAY=:${DISPLAY_NUM}
|
||||
RUN touch /root/.Xauthority
|
||||
|
||||
ENV GAMES_HOME=/opt/games
|
||||
ENV SCRIPTS_HOME=/opt/scripts
|
||||
ENV PATH=${PATH}:${SCRIPTS_HOME}
|
||||
|
||||
ADD scripts ${SCRIPTS_HOME}
|
||||
WORKDIR /tmp/apps
|
||||
RUN smbget -au smb://vlda-01/software/Games/dosbox/stuntcar.zip
|
||||
RUN smbget -au smb://vlda-01/software/Games/dosbox/t7g.zip
|
||||
|
||||
RUN mkdir -p ${GAMES_HOME}
|
||||
RUN unzip -o -d ${GAMES_HOME} "/tmp/apps/*.zip"
|
||||
RUN rm -rf /tmp/apps
|
||||
RUN cd ~
|
||||
|
||||
EXPOSE 60${DISPLAY_NUM}
|
||||
EXPOSE 5900
|
||||
|
||||
ENTRYPOINT ["/opt/scripts/server_start.sh", "/opt/scripts/server.sh"]
|
||||
|
||||
# see also
|
||||
# https://github.com/ich777/docker-krusader
|
||||
Reference in New Issue
Block a user