-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (18 loc) · 888 Bytes
/
Copy pathDockerfile
File metadata and controls
18 lines (18 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM debian:wheezy-20190228-slim
ARG DEBIAN_FRONTEND=noninteractive
RUN mkdir -p /usr/share/man/man1 && \
echo "deb http://archive.debian.org/debian wheezy main contrib non-free" > /etc/apt/sources.list && \
apt-get update && \
apt-get -yu --force-yes dist-upgrade && \
apt-get -y --force-yes install tzdata=2016d-0+deb7u1 && \
apt-get -y --force-yes install x11vnc xvfb jwm iceweasel openjdk-6-jre tzdata-java icedtea-6-plugin icedtea-netx && \
update-alternatives --set javaws /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/javaws && \
apt-get -y --force-yes autoremove && \
apt-get clean && \
rm -rf /var/lib/{apt,dpkg,cache,log} && \
mkdir ~/.vnc && \
echo "exec jwm &" >> ~/.xinitrc && \
echo "firefox" >> ~/.xinitrc && \
chmod 755 ~/.xinitrc
ENTRYPOINT ["/usr/bin/x11vnc", "-nopw", "-forever", "-create"]
CMD ["-geometry", "1024x768"]