view contrib/docker/pytype/Dockerfile @ 52314:33d8cb64e9da default tip

rust: fix darwin build
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Mon, 18 Nov 2024 15:42:09 +0100
parents 81be242a1b5c
children
line wrap: on
line source

FROM registry.heptapod.net/mercurial/ci-images/mercurial-core:v2.1

USER ci-runner

ENV PATH=/home/ci-runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PYTHONPATH=/home/ci-runner/.local/lib/python3.11/site-packages

RUN python3 -m pip install --user --break-system-packages --upgrade pytype==2023.11.21

ADD --chown=ci-runner entrypoint.sh /home/ci-runner/entrypoint.sh

RUN chmod -R a=rwX /home/ci-runner/.local/ /home/ci-runner/entrypoint.sh

CMD /home/ci-runner/entrypoint.sh