-Use openssl-Use fluxbox as WM
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM jayfield/novnc-baseimage
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install --no-install-recommends openssl && \
|
||||
apt-get -y install --no-install-recommends net-tools socat && \
|
||||
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}
|
||||
@@ -8,6 +13,7 @@ RUN touch /root/.Xauthority
|
||||
|
||||
ADD scripts /opt/scripts/
|
||||
|
||||
EXPOSE 60${DISPLAY_NUM}
|
||||
EXPOSE 5900
|
||||
|
||||
ENTRYPOINT ["/opt/scripts/server_start.sh", "/opt/scripts/server.sh"]
|
||||
|
||||
Reference in New Issue
Block a user