FROM ubuntu:14.04 MAINTAINER Tomohisa Kusano RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive \ apt-get install -y \ ca-certificates \ fonts-takao \ 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", "-ncache", "10"]