view contrib/docker/pytype/Dockerfile @ 6658:edcd6710033e

contrib: adjust heptapod CI flavor sizes
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 18 Jan 2024 13:22:27 -0300
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