view contrib/docker/pytype/Dockerfile @ 6880:906b5af0b2a6

topic: use FQBN for displaying topic name when it grows multiple changesets
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 17 Sep 2024 21:17:56 +0400
parents 9c329a7a5922
children
line wrap: on
line source

FROM registry.heptapod.net/mercurial/ci-images/py3-hgext3rd:v2.0

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==2024.1.5

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