Avoid issue with system-installed py packages
continuous-integration/drone/push Build was killed Details

pictuga 2021-12-28 13:30:48 +01:00
parent 106f59afa1
commit c56255df93
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ steps:
image: alpine
commands:
- apk add --no-cache python3 py3-lxml py3-setproctitle py3-pip py3-wheel py3-enchant hunspell-en
- pip3 install --no-cache-dir .[full] .[dev]
- pip3 install --no-cache-dir --ignore-installed .[full] .[dev]
- isort --check-only --diff .
- pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8

View File

@ -5,7 +5,7 @@ ADD . /app
RUN set -ex; \
apk add --no-cache --virtual .run-deps python3 py3-lxml py3-setproctitle py3-setuptools; \
apk add --no-cache --virtual .build-deps py3-pip py3-wheel; \
pip3 install --no-cache-dir /app[full]; \
pip3 install --no-cache-dir --ignore-installed /app[full]; \
apk del .build-deps
USER 1000:1000