Created
July 30, 2020 21:38
-
-
Save aslushnikov/fc72f5b2180ebaddaf7d1f5ad8a37b22 to your computer and use it in GitHub Desktop.
Docker file to build Firefox for playwright
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 as firefox-builder | |
RUN apt-get update && apt-get install -y wget \ | |
git-core \ | |
python \ | |
python3 \ | |
python3-distutils \ | |
curl \ | |
clang-9 | |
# Install RUST | |
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y | |
RUN mkdir /home/joe && chmod 777 /home/joe && | |
cd /home/joe && git clone https://github.com/microsoft/playwright && | |
cd /home/joe/playwright && | |
./browser_patches/prepare_checkout.sh firefox | |
WORKDIR /home/joe/playwright/browser_patches/firefox/checkout | |
RUN SHELL=/bin/sh ./mach bootstrap --application-choice=browser --no-interactive && \ | |
SHELL=/bin/sh ../build.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment