You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
723 B
Docker
21 lines
723 B
Docker
FROM alpine:latest
|
|
|
|
LABEL maintainer="Don <novaspirit@novaspirit.com>"
|
|
|
|
RUN apk add --no-cache sudo git xfce4 faenza-icon-theme bash python3 tigervnc xfce4-terminal\
|
|
&& adduser -h /home/alpine -s /bin/bash -S -D alpine && echo -e "alpine\nalpine" | passwd alpine \
|
|
&& echo 'alpine ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
|
|
&& git clone https://github.com/novnc/noVNC /opt/noVNC \
|
|
&& git clone https://github.com/novnc/websockify /opt/noVNC/utils/websockify
|
|
|
|
USER alpine
|
|
WORKDIR /home/alpine
|
|
|
|
RUN mkdir -p /home/alpine/.vnc \
|
|
&& echo -e "#!/bin/bash\nstartxfce4 &" > /home/alpine/.vnc/xstartup \
|
|
&& echo -e "alpine\nalpine\nn\n" | vncpasswd
|
|
|
|
COPY entry.sh /entry.sh
|
|
|
|
CMD [ "/bin/bash", "/entry.sh" ]
|