mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
45ab3e0332
This adds a proof-of-concept of `puppeteer-firefox`. This consists of two parts: - `//experimental/juggler` - patches to apply to Firefox. - `//experimental/puppeteer-firefox` - front-end code to be merged with Puppeteer. As things become more stable, we'll gradually move it out of the experimental folder.
28 lines
1.1 KiB
Docker
28 lines
1.1 KiB
Docker
FROM ubuntu:trusty
|
|
|
|
MAINTAINER Andrey Lushnikov <aslushnikov@gmail.com>
|
|
ENV SHELL=/bin/bash
|
|
|
|
# Install generic deps
|
|
RUN apt-get update -y && apt-get install -y wget python clang llvm git curl
|
|
|
|
# Install gcc7 (mach requires 6.1+)
|
|
RUN apt-get update -y && \
|
|
apt-get upgrade -y && \
|
|
apt-get dist-upgrade -y && \
|
|
apt-get install build-essential software-properties-common -y && \
|
|
add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
|
|
apt-get update -y && \
|
|
apt-get install gcc-7 g++-7 -y && \
|
|
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7 && \
|
|
update-alternatives --config gcc
|
|
|
|
# Install llvm 3.9.0 (mach requires 3.9.0+)
|
|
RUN echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main" >> /etc/apt/sources.list && \
|
|
echo "deb-src http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main" >> /etc/apt/sources.list && \
|
|
apt-get install clang-3.9 lldb-3.9 -y
|
|
|
|
# Install python 3.6 (mach requires 3.5+)
|
|
RUN add-apt-repository ppa:deadsnakes/ppa -y && \
|
|
apt-get update -y && apt-get install python3.6 -y
|