tor-browser

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

Dockerfile (1328B)


      1 # This docker image only sets up packages on top of the original Ubuntu image.
      2 # Everything else is setup is a child docker image derived from this one, such
      3 # that changes to our scripts don't trigger the rebuild of this base image,
      4 # possibly leading to breakage. (See bug 1503756 and bug 1678451 for examples
      5 # of such recent breakages)
      6 FROM          $DOCKER_IMAGE_PARENT
      7 MAINTAINER    Edwin Takahashi <egao@mozilla.com>
      8 
      9 ARG TASKCLUSTER_ROOT_URL
     10 ARG DOCKER_IMAGE_PACKAGES
     11 RUN /usr/local/sbin/setup_packages.sh $TASKCLUSTER_ROOT_URL $DOCKER_IMAGE_PACKAGES
     12 
     13 # %include taskcluster/docker/recipes/ubuntu1804-test-system-setup-base.sh
     14 ADD topsrcdir/taskcluster/docker/recipes/ubuntu1804-test-system-setup-base.sh /setup/system-setup.sh
     15 RUN     bash /setup/system-setup.sh
     16 RUN /usr/local/sbin/clean_packages.sh $DOCKER_IMAGE_PACKAGES
     17 
     18 # gnome-keyring-daemon is configured to have the IPC_LOCK capability (to lock pages with secrets in
     19 # memory), but docker isn't run with that capability granted. So, if we were to try running
     20 # gnome-keyring-daemon without first clearing the capability, it would just exit with the message
     21 # "Operation not permitted". Luckily it doesn't actually require the capability.
     22 RUN     setcap -r /usr/bin/gnome-keyring-daemon
     23 
     24 # Set a default command useful for debugging
     25 CMD ["/bin/bash", "--login"]