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.
chrome-vnc-2/Dockerfile

37 lines
669 B
Docker

FROM ubuntu:14.04
MAINTAINER Tomohisa Kusano <siomiz@gmail.com>
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive \
apt-get install -y \
ca-certificates \
gconf-service \
libappindicator1 \
libasound2 \
libcurl3 \
libgconf-2-4 \
libnspr4 \
libnss3 \
libpango1.0-0 \
wget \
x11vnc \
xdg-utils \
xvfb
ADD https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb /chrome.deb
RUN dpkg -i /chrome.deb
RUN ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
EXPOSE 5900
CMD ["x11vnc", "-display", ":1", "-nopw"]