2017-09-13 16:48:19 +03:00
|
|
|
FROM electronbuilds/libchromiumcontent:0.0.4
|
|
|
|
|
|
|
|
USER root
|
|
|
|
|
|
|
|
# Install node.js
|
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
|
2017-12-05 23:01:01 +03:00
|
|
|
RUN apt-get update && apt-get install -y nodejs
|
2017-09-13 16:48:19 +03:00
|
|
|
|
|
|
|
# Install wget used by crash reporter
|
2017-12-05 23:01:01 +03:00
|
|
|
RUN apt-get install -y wget
|
|
|
|
|
|
|
|
# Install python-dbusmock
|
|
|
|
RUN apt-get install -y python-dbusmock
|
2017-09-13 16:48:19 +03:00
|
|
|
|
|
|
|
# Add xvfb init script
|
|
|
|
ADD tools/xvfb-init.sh /etc/init.d/xvfb
|
|
|
|
RUN chmod a+x /etc/init.d/xvfb
|
|
|
|
|
|
|
|
USER builduser
|
|
|
|
WORKDIR /home/builduser
|