2014-12-04 00:58:42 +00:00
|
|
|
FROM ubuntu:14.04
|
|
|
|
|
2014-12-04 01:14:56 +00:00
|
|
|
MAINTAINER Tomohisa Kusano <siomiz@gmail.com>
|
2014-12-04 00:58:42 +00:00
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& DEBIAN_FRONTEND=noninteractive \
|
|
|
|
apt-get install -y \
|
2014-12-04 01:14:56 +00:00
|
|
|
ca-certificates \
|
2014-12-04 01:35:06 +00:00
|
|
|
fonts-takao \
|
2014-12-04 00:58:42 +00:00
|
|
|
gconf-service \
|
|
|
|
libappindicator1 \
|
|
|
|
libasound2 \
|
2014-12-04 01:14:56 +00:00
|
|
|
libcurl3 \
|
|
|
|
libgconf-2-4 \
|
2014-12-04 00:58:42 +00:00
|
|
|
libnspr4 \
|
|
|
|
libnss3 \
|
|
|
|
libpango1.0-0 \
|
2014-12-10 18:27:54 +00:00
|
|
|
supervisor \
|
2014-12-04 01:14:56 +00:00
|
|
|
wget \
|
|
|
|
x11vnc \
|
|
|
|
xdg-utils \
|
2014-12-05 20:44:28 +00:00
|
|
|
xvfb \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2014-12-04 00:58:42 +00:00
|
|
|
|
|
|
|
ADD https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb /chrome.deb
|
|
|
|
|
2014-12-05 20:44:28 +00:00
|
|
|
RUN dpkg -i /chrome.deb && rm /chrome.deb
|
2014-12-04 00:58:42 +00:00
|
|
|
|
|
|
|
RUN ln -s /lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libudev.so.0
|
|
|
|
|
2014-12-10 18:27:54 +00:00
|
|
|
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
2014-12-04 00:58:42 +00:00
|
|
|
|
|
|
|
EXPOSE 5900
|
|
|
|
|
2014-12-10 18:27:54 +00:00
|
|
|
CMD ["/usr/bin/supervisord"]
|
2014-12-04 00:58:42 +00:00
|
|
|
|