mirror of
https://github.com/daijro/camoufox.git
synced 2026-10-04 00:00:26 +00:00
- The developer UI (scripts/developer.py, `make edits`). It depended on easygui, which no requirements file declares, and every action it offered is a Makefile target: patch, unpatch, workspace, revert, diff. Its two helpers in scripts/_mixin.py (is_bootstrap_patch, patch) had no other callers. - legacy/, the Go launcher deprecated in 2024-11. Nothing built or shipped it. Its Makefile targets and scripts/run-pw.py go with it, and so does Go from every dependency list and workflow. - jsonvv/ and settings/camoucfg.jvv. Nothing read the .jvv schema: config is validated against settings/properties.json, and the two had already drifted. The jsonvv package stays on PyPI. - Scripts with no caller: bootstrap.py, moztree, setup-wasi-linux.sh, package-helper.sh, install-local-build.sh, mozfetch.sh (copied into lw/ but never packaged), examples/. - The pre-ESM Juggler copies JugglerFrameParent.jsm and JugglerFrameChild.jsm, and hidden-scrollbars.css. Juggler loads the .sys.mjs actors and deliberately no stylesheet, but jar.mn still packaged all three. - patches/librewolf/*.opt, which list_patches() never picks up; the roverfox second pass in patch.py, whose directory no longer exists; the unread --no-settings-pane option. - The CAMOUFOX_PASSWD secret passed to `make fetch` and closedsrc_rev in upstream.sh, which nothing reads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
1006 B
Docker
37 lines
1006 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 aria2 curl rsync \
|
|
# assets/base.mozconfig only enables ccache `if command -v ccache`, so
|
|
# without this every container build is a cold build (#698)
|
|
ccache \
|
|
# Platform-specific libraries for Linux builds
|
|
libsqlite3-dev \
|
|
# CA certificates
|
|
ca-certificates \
|
|
&& update-ca-certificates
|
|
|
|
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
|
|
|
# Fetch Firefox & apply initial patches
|
|
RUN make setup-minimal && \
|
|
make mozbootstrap && \
|
|
mkdir -p /app/dist
|
|
|
|
# Mount .mozbuild directory and dist folder
|
|
VOLUME /root/.mozbuild
|
|
VOLUME /app/dist
|
|
|
|
ENTRYPOINT ["python3", "./multibuild.py"] |