2017-08-24 16:42:32 +03:00
|
|
|
FROM electronbuilds/libchromiumcontent:0.0.4
|
|
|
|
|
|
|
|
USER root
|
|
|
|
|
|
|
|
# Set up HOME directory
|
|
|
|
ENV HOME=/home
|
|
|
|
RUN chmod a+rwx /home
|
2017-07-21 23:42:00 +03:00
|
|
|
|
|
|
|
# Install node.js
|
2018-03-19 17:19:32 +03:00
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
|
2017-12-05 23:01:01 +03:00
|
|
|
RUN apt-get update && apt-get install -y nodejs
|
2017-07-21 23:42:00 +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-07-22 00:31:28 +03:00
|
|
|
|
2018-03-09 06:07:50 +03:00
|
|
|
# Install libnotify
|
|
|
|
RUN apt-get install -y libnotify-bin
|
|
|
|
|
2017-07-22 00:31:28 +03:00
|
|
|
# Add xvfb init script
|
|
|
|
ADD tools/xvfb-init.sh /etc/init.d/xvfb
|
|
|
|
RUN chmod a+x /etc/init.d/xvfb
|