mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
70d9fb7e25
Due to having apt install "recommended packages", we're having the `python3-gi` package installed. However, though the *apt* package of `python3-gi` doesn't depend on anything, the underlying Python `PyGObject` package does depend on `pycairo`. By installing `python3-cairo`, we resolve the missing Python package dependency, allowing `pip check` to complete successfully. Differential Revision: https://phabricator.services.mozilla.com/D127458
33 lines
1.1 KiB
Docker
33 lines
1.1 KiB
Docker
# This is an LTS! We should upgrade after the next LTS is released, unless
|
|
# we've switched to the in-tree debian base images by then.
|
|
FROM $DOCKER_IMAGE_PARENT
|
|
|
|
MAINTAINER release@mozilla.com
|
|
|
|
# We do want to install recommended packages.
|
|
RUN sed -i /APT::Install-Recommends/d /etc/apt/apt.conf.d/99taskcluster
|
|
|
|
RUN dpkg --add-architecture i386 && apt-get -q update \
|
|
# p7zip-full is for extracting Windows and OS X packages
|
|
# wget is for downloading update.xml, installers, and MARs
|
|
# libgtk-3-0 is required to run the Firefox updater
|
|
&& apt-get -q --yes install p7zip-full wget libgtk-3-0 libgtk-3.0:i386 python3-cairo
|
|
|
|
VOLUME /builds/worker/.cache
|
|
VOLUME /builds/worker/checkouts
|
|
|
|
RUN mkdir /build
|
|
ADD system-setup.sh /tmp/system-setup.sh
|
|
RUN bash /tmp/system-setup.sh
|
|
|
|
RUN chown -R worker:worker /builds/worker/bin && chmod 755 /builds/worker/bin/*
|
|
ENV PATH $PATH:/builds/worker/bin
|
|
|
|
# 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
|
|
|
|
# Set a default command useful for debugging
|
|
CMD ["/bin/bash", "--login"]
|