mirror of https://github.com/siomiz/chrome
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.
35 lines
931 B
Docker
35 lines
931 B
Docker
FROM siomiz/ubuntu-xvd
|
|
|
|
MAINTAINER Tomohisa Kusano <siomiz@gmail.com>
|
|
|
|
ENV CHROME_REMOTE_DESKTOP_DEFAULT_DESKTOP_SIZES 1024x768
|
|
|
|
COPY copyables /
|
|
|
|
ADD https://dl.google.com/linux/linux_signing_key.pub /tmp/
|
|
|
|
RUN apt-key add /tmp/linux_signing_key.pub \
|
|
&& apt-get update \
|
|
&& apt-get install -y \
|
|
google-chrome-stable \
|
|
chrome-remote-desktop \
|
|
fonts-takao \
|
|
pulseaudio \
|
|
supervisor \
|
|
x11vnc \
|
|
&& apt-get clean \
|
|
&& rm -rf /var/cache/* /var/log/apt/* /tmp/* \
|
|
&& addgroup chrome-remote-desktop \
|
|
&& useradd -m -G chrome-remote-desktop,pulse-access chrome \
|
|
&& ln -s /crdonly /usr/local/sbin/crdonly \
|
|
&& ln -s /update /usr/local/sbin/update \
|
|
&& ln -s /update /etc/cron.hourly/update \
|
|
&& ln -s /usr/bin/Xorg /usr/bin/Xvfb-randr \
|
|
&& patch -d /opt/google/chrome-remote-desktop -p0 < /crd-xvd.patch
|
|
|
|
VOLUME ["/home/chrome"]
|
|
|
|
EXPOSE 5900
|
|
|
|
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|