A basic working desktop that is browser/cloud accessible
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
commit
483f3e4758
5 changed files with 59 additions and 0 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue