mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 06:32:05 -08:00
29 lines
691 B
Docker
29 lines
691 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 \
|
|
# Mach build tools
|
|
build-essential make msitools wget unzip rustc \
|
|
# Python
|
|
python3 python3-dev python3-pip \
|
|
# Camoufox build system tools
|
|
git p7zip-full golang-go aria2 \
|
|
# CA certificates
|
|
ca-certificates \
|
|
&& update-ca-certificates
|
|
|
|
# Fetch Firefox & apply initial patches
|
|
RUN make setup-minimal && \
|
|
make mozbootstrap && \
|
|
mkdir /app/dist
|
|
|
|
# Mount .mozbuild directory and dist folder
|
|
VOLUME /root/.mozbuild
|
|
VOLUME /app/dist
|
|
|
|
ENTRYPOINT ["python3", "./multibuild.py"]
|