Dockerfile (1066B)
1 FROM $DOCKER_IMAGE_PARENT 2 MAINTAINER Andrew Halberstadt <ahalberstadt@mozilla.com> 3 4 VOLUME /builds/worker/.task-cache/npm 5 VOLUME /builds/worker/.task-cache/pip 6 VOLUME /builds/worker/.task-cache/uv 7 VOLUME /builds/worker/checkouts 8 9 # We do want to install recommended packages. 10 RUN sed -i /APT::Install-Recommends/d /etc/apt/apt.conf.d/99taskcluster 11 12 RUN mkdir /build 13 # %include python/mozbuild/mozbuild/action/tooltool.py 14 ADD topsrcdir/python/mozbuild/mozbuild/action/tooltool.py /build/tooltool.py 15 16 # %include taskcluster/docker/recipes/install-node.sh 17 ADD topsrcdir/taskcluster/docker/recipes/install-node.sh /build/install-node.sh 18 19 ADD system-setup.sh /tmp/system-setup.sh 20 RUN bash /tmp/system-setup.sh 21 22 RUN chown -R worker:worker /builds/worker/bin && chmod 755 /builds/worker/bin/* 23 24 # Set variable normally configured at login, by the shells parent process, these 25 # are taken from GNU su manual 26 ENV LANG en_US.UTF-8 27 ENV LC_ALL en_US.UTF-8 28 29 # Set a default command useful for debugging 30 CMD ["/bin/bash", "--login"]