omegafox/Dockerfile

26 lines
No EOL
592 B
Docker

FROM ubuntu:latest
WORKDIR /app
# Copy the current directory into the container at /app
COPY . /app
# Install necessary packages
RUN apt-get update && apt-get install -y \
# Makefile utils
build-essential make git msitools wget unzip \
# Python
python3 python3-dev python3-pip \
# Camoufox build system utils
p7zip-full golang-go
# Fetch Firefox & apply initial patches
RUN make fetch && \
make mozbootstrap && \
mkdir /app/dist
# Mount .mozbuild directory and dist folder
VOLUME /root/.mozbuild
VOLUME /app/dist
ENTRYPOINT ["python3", "./multibuild.py"]