FROM $DOCKER_IMAGE_PARENT
MAINTAINER Edwin Takahashi <egao@mozilla.com>
# Create necessary directories
RUN mkdir -p /artifacts
# We need to declare all potentially cache volumes as caches. Also, # making high I/O paths volumes increase I/O throughput because of # AUFS slowness.
VOLUME /builds/worker/.task-cache/npm
VOLUME /builds/worker/.task-cache/pip
VOLUME /builds/worker/.task-cache/uv
VOLUME /builds/worker/checkouts
VOLUME /builds/worker/tooltool-cache
VOLUME /builds/worker/workspace
# In test.sh we accept START_VNC to start a vnc daemon. # Exposing this port allows it to work.
EXPOSE 5900
# Set variable normally configured at login, by the shells parent process, these # are taken from GNU su manual
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV PATH $PATH:/builds/worker/bin
# This helps not forgetting setting DISPLAY=:0 when running # tests outside of test.sh
ENV DISPLAY :0
# Add utilities and configuration COPY dot-files/config /builds/worker/.config
# Disable apport (app crash reporter) to avoid stealing focus from test runs
ADD apport /etc/default/apport
# Disable font antialiasing for now to match releng's setup
ADD fonts.conf /builds/worker/.fonts.conf
# Bug 1345105 - Do not run periodical update checks and downloads
ADD autostart/gnome-software-service.desktop /etc/xdg/autostart/
# allow the worker user to access video devices
RUN usermod -a -G video worker
# Set execution and ownership privileges
RUN chmod +x bin/*; chown -R worker:worker /builds/worker
# Set up first-run experience for interactive mode
ADD motd /etc/taskcluster-motd
ADD taskcluster-interactive-shell /bin/taskcluster-interactive-shell
RUN chmod +x /bin/taskcluster-interactive-shell
# Ubuntu 18.04 (or any other GNOME3 based systems) needs dbus to have various # test function as expected. Use entrypoint to initialize dbus as root. COPY dbus.sh /usr/local/bin/dbus.sh
RUN chmod +x /usr/local/bin/dbus.sh
ENTRYPOINT ["/usr/local/bin/dbus.sh"]
# Set a default command useful for debugging
CMD ["/bin/bash", "--login"]
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-04-26)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.