mirror of
https://github.com/siomiz/chrome
synced 2024-11-18 21:28:07 +00:00
37 lines
669 B
Docker
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"]
|
|
|