gecko-dev/taskcluster/docker/debian10-test-iris/Dockerfile
Wes Kocher c4acd9439a Bug 1573271 - Run the iris test suite in CI on Windows and Linux r=grenade,tomprince
This patch enables the iris test suite to run in CI against Windows and Linux shippable builds on mozilla-central and try. The framework is in place for Iris to run against MacOS in CI, but it is currently disabled while bootstrapping issues are sorted out.

Linux uses a new docker image based on the debian10-test parent image that installs preinstalls most of Iris's dependencies. Windows installs a few dependencies using the scoop package manager. Both then install the rest of the python dependencies via pip.

This adds a new toolchain artifact to fetch the iris_firefox git repo without touching the outside network.

Differential Revision: https://phabricator.services.mozilla.com/D41638

--HG--
extra : moz-landing-system : lando
2019-10-02 01:58:31 +00:00

30 lines
1.0 KiB
Docker

# %ARG DOCKER_IMAGE_PARENT
FROM $DOCKER_IMAGE_PARENT
MAINTAINER Wes Kocher <wkocher@mozilla.com>
RUN mkdir -p /builds
RUN id worker || useradd -d /builds/worker -s /bin/bash -m worker
WORKDIR /builds/worker
# 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/.cache
VOLUME /builds/worker/checkouts
VOLUME /builds/worker/tooltool-cache
VOLUME /builds/worker/workspace
# %include taskcluster/docker/debian10-test-iris/install_iris_deps.sh
ADD topsrcdir/taskcluster/docker/debian10-test-iris/install_iris_deps.sh /setup/install_iris_deps.sh
RUN bash /setup/install_iris_deps.sh
# 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
RUN chown -R worker:worker /builds/worker
# Set a default command useful for debugging
CMD ["/bin/bash", "--login"]