forked from platypush/platypush
[Build] Removed testing repo from Alpine images.
The testing repo is only required by `py3-marshmallow`, which is not yet included in the community repo, but it can end up breaking some builds because of the incompatibility with the packages in the base repo.
This commit is contained in:
parent
ad59ff8e4d
commit
197e1e91dd
6 changed files with 7 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "Installing required build dependencies"
|
||||
apk add --update --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ git make py3-sphinx py3-myst-parser py3-pip $(cat platypush/install/requirements/alpine.txt)
|
||||
apk add --update --no-cache git make py3-sphinx py3-myst-parser py3-pip $(cat platypush/install/requirements/alpine.txt)
|
||||
pip install -U sphinx-rtd-theme sphinx-book-theme --break-system-packages
|
||||
pip install . --break-system-packages
|
||||
mkdir -p /docs/current
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
apk add --update --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ $(cat platypush/install/requirements/alpine.txt)
|
||||
apk add --update --no-cache $(cat platypush/install/requirements/alpine.txt)
|
||||
pip install . --break-system-packages
|
||||
pip install -r requirements-tests.txt --break-system-packages
|
||||
pytest tests
|
||||
|
|
|
@ -23,7 +23,7 @@ fi
|
|||
. .drone/macros/configure-gpg.sh
|
||||
|
||||
echo 'Updating components cache'
|
||||
apk add --update --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ $(cat platypush/install/requirements/alpine.txt)
|
||||
apk add --update --no-cache $(cat platypush/install/requirements/alpine.txt)
|
||||
pip install . --break-system-packages
|
||||
|
||||
python - <<EOF
|
||||
|
|
|
@ -18,7 +18,7 @@ RUN --mount=type=bind,source=.,target=/curdir \
|
|||
|
||||
RUN /install/platypush/install/scripts/alpine/install.sh && \
|
||||
cd /install && \
|
||||
pip install -U --no-input --no-cache-dir --no-deps --ignore-installed --break-system-packages . croniter && \
|
||||
pip install -U --no-input --no-cache-dir --no-deps --ignore-installed --break-system-packages . croniter marshmallow && \
|
||||
rm -rf /install && \
|
||||
rm -rf /root/.cache && \
|
||||
apk del gcc git && \
|
||||
|
|
|
@ -6,7 +6,6 @@ py3-docutils
|
|||
py3-flask
|
||||
py3-greenlet
|
||||
py3-magic
|
||||
py3-marshmallow
|
||||
py3-mypy-extensions
|
||||
py3-otp
|
||||
py3-psutil
|
||||
|
@ -16,11 +15,13 @@ py3-qrcode
|
|||
py3-redis
|
||||
py3-requests
|
||||
py3-rsa
|
||||
py3-simplejson
|
||||
py3-sqlalchemy
|
||||
py3-tornado
|
||||
py3-tz
|
||||
py3-websocket-client
|
||||
py3-websockets
|
||||
py3-wheel
|
||||
py3-yaml
|
||||
py3-zeroconf
|
||||
redis
|
||||
|
|
|
@ -1 +1 @@
|
|||
apk add --update --no-interactive --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/
|
||||
apk add --update --no-interactive --no-cache
|
||||
|
|
Loading…
Reference in a new issue