-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (25 loc) · 825 Bytes
/
Dockerfile
File metadata and controls
35 lines (25 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM debian:bookworm
ENV PATH="/container/scripts:${PATH}"
ENV SHELL="/bin/bash"
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get -q -y update \
&& apt-get -q -y install --no-install-recommends runit \
\
xvfb \
x11vnc \
novnc \
\
sudo \
\
&& apt-get -q -y install icewm \
\
&& apt-get -q -y clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN adduser --disabled-password -q --gecos '' app \
&& passwd -d app \
&& ln -s /usr/share/novnc/vnc_lite.html /usr/share/novnc/index.html
EXPOSE 8080
COPY . /container/
HEALTHCHECK CMD ["docker-healthcheck.sh"]
ENTRYPOINT ["entrypoint.sh"]
CMD [ "runsvdir","-P", "/container/config/runit" ]