tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

Containerfile (877B)


      1 # This image is published in containers.torproject.org/tpo/applications/tor-browser/base
      2 #
      3 # Whenever there are changes to this file,
      4 # they are autopublished on merge to the tpo/applications/tor-browser repository.
      5 #
      6 # The image is updated roughly once a month when the tor-browser repository is rebased.
      7 
      8 FROM containers.torproject.org/tpo/tpa/base-images/python:trixie
      9 
     10 RUN apt-get update && apt-get install -y \
     11         git \
     12         xvfb
     13 
     14 RUN git clone --single-branch --depth 1 https://gitlab.torproject.org/tpo/applications/tor-browser.git
     15 
     16 # Bootstrap will download and install all dependencies required for building / linting / etc.
     17 RUN cd tor-browser && \
     18     yes | MOZBUILD_STATE_PATH=/var/tmp/mozbuild ./mach bootstrap --application-choice "Tor Browser for Desktop" && \
     19     cd ..
     20 
     21 RUN rm -rf tor-browser && \
     22     apt-get clean && \
     23     rm -rf /var/lib/apt/lists/*