Avoid issue with system-installed py packages
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
parent
106f59afa1
commit
c56255df93
|
@ -7,7 +7,7 @@ steps:
|
||||||
image: alpine
|
image: alpine
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache python3 py3-lxml py3-setproctitle py3-pip py3-wheel py3-enchant hunspell-en
|
- 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 .
|
- isort --check-only --diff .
|
||||||
- pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8
|
- pylint morss --rcfile=.pylintrc --disable=C,R,W --fail-under=8
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ ADD . /app
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
apk add --no-cache --virtual .run-deps python3 py3-lxml py3-setproctitle py3-setuptools; \
|
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; \
|
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
|
apk del .build-deps
|
||||||
|
|
||||||
USER 1000:1000
|
USER 1000:1000
|
||||||
|
|
Loading…
Reference in New Issue