Dockerfile 684 B

123456789101112131415161718192021222324252627282930
  1. FROM electronbuilds/libchromiumcontent:0.0.4
  2. USER root
  3. # Set up HOME directory
  4. ENV HOME=/home/builduser
  5. # Install node.js
  6. RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
  7. RUN apt-get install -y nodejs
  8. # Install wget used by crash reporter
  9. RUN apt-get install -y wget
  10. # Install python-dbus
  11. RUN apt-get install -y python-dbus
  12. RUN pip install python-dbusmock
  13. # Install libnotify
  14. RUN apt-get install -y libnotify-bin
  15. # Add xvfb init script
  16. ADD tools/xvfb-init.sh /etc/init.d/xvfb
  17. RUN chmod a+x /etc/init.d/xvfb
  18. COPY .circleci/fix-known-hosts.sh /home/builduser/fix-known-hosts.sh
  19. RUN chmod a+x /home/builduser/fix-known-hosts.sh
  20. USER builduser
  21. WORKDIR /home/builduser