| |
| FROM ubuntu:20.04 |
|
|
| |
| ENV DEBIAN_FRONTEND=noninteractive |
| ENV USER root |
|
|
| |
| RUN apt-get update && \ |
| apt-get upgrade -y && \ |
| apt-get install -y \ |
| apt-utils && \ |
| apt-get install -f && \ |
| dpkg --configure -a && \ |
| apt-get install -y \ |
| supervisor \ |
| xfce4 \ |
| xfce4-terminal \ |
| novnc \ |
| net-tools \ |
| tigervnc-standalone-server \ |
| wget \ |
| xterm && \ |
| apt-get clean && \ |
| rm -rf /var/lib/apt/lists/* |
|
|
| |
| RUN wget https://github.com/novnc/noVNC/archive/refs/tags/v1.2.0.tar.gz \ |
| && tar -xvzf v1.2.0.tar.gz \ |
| && mv noVNC-1.2.0 /usr/share/novnc \ |
| && rm v1.2.0.tar.gz |
|
|
| |
| RUN ln -s /usr/share/novnc/vnc.html /usr/share/novnc/index.html |
|
|
| |
| RUN mkdir -p /var/log/supervisor |
| COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf |
|
|
| |
| EXPOSE 7860 |
| EXPOSE 5901 |
|
|
| |
| CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"] |
|
|