electron/Dockerfile

22 lines
472 B
Text
Raw Normal View History

2017-08-24 09:42:32 -04:00
FROM electronbuilds/libchromiumcontent:0.0.4
USER root
# Set up HOME directory
ENV HOME=/home
RUN chmod a+rwx /home
# Install node.js
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
2017-12-05 15:01:01 -05:00
RUN apt-get update && apt-get install -y nodejs
# Install wget used by crash reporter
2017-12-05 15:01:01 -05:00
RUN apt-get install -y wget
# Install python-dbusmock
RUN apt-get install -y python-dbusmock
2017-07-21 14:31:28 -07:00
# Add xvfb init script
ADD tools/xvfb-init.sh /etc/init.d/xvfb
RUN chmod a+x /etc/init.d/xvfb