A basic working desktop that is browser/cloud accessible

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2018-07-24 17:22:46 -04:00
commit 483f3e4758
Signed by: vbatts
GPG key ID: 10937E57733F1362
5 changed files with 59 additions and 0 deletions

20
Dockerfile Normal file
View file

@ -0,0 +1,20 @@
FROM fedora:latest
RUN dnf update -y --refresh && \
dnf install -y @xfce-desktop firefox thunderbird && \
dnf install -y tigervnc-server novnc net-tools git python-numpy && \
dnf clean all && \
git clone https://github.com/kanaka/websockify /usr/bin/websockify && \
adduser -m -u 1000 limited
RUN echo -n limited | passwd --stdin limited
COPY default-vncpasswd /
COPY default-vncxstartup /
COPY default-vncconfig /
ENV PREFERRED="startxfce4"
ENV HOME=/home/limited
RUN chown -R limited /home/limited
USER limited
WORKDIR /home/limited
VOLUME ["/home/limited"]
EXPOSE 5900 6080
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT bash /entrypoint.sh