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
|
#!/bin/sh
|
||||||
|
|
||||||
echo "Installing required build dependencies"
|
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 -U sphinx-rtd-theme sphinx-book-theme --break-system-packages
|
||||||
pip install . --break-system-packages
|
pip install . --break-system-packages
|
||||||
mkdir -p /docs/current
|
mkdir -p /docs/current
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/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 . --break-system-packages
|
||||||
pip install -r requirements-tests.txt --break-system-packages
|
pip install -r requirements-tests.txt --break-system-packages
|
||||||
pytest tests
|
pytest tests
|
||||||
|
|
|
@ -23,7 +23,7 @@ fi
|
||||||
. .drone/macros/configure-gpg.sh
|
. .drone/macros/configure-gpg.sh
|
||||||
|
|
||||||
echo 'Updating components cache'
|
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
|
pip install . --break-system-packages
|
||||||
|
|
||||||
python - <<EOF
|
python - <<EOF
|
||||||
|
|
|
@ -18,7 +18,7 @@ RUN --mount=type=bind,source=.,target=/curdir \
|
||||||
|
|
||||||
RUN /install/platypush/install/scripts/alpine/install.sh && \
|
RUN /install/platypush/install/scripts/alpine/install.sh && \
|
||||||
cd /install && \
|
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 /install && \
|
||||||
rm -rf /root/.cache && \
|
rm -rf /root/.cache && \
|
||||||
apk del gcc git && \
|
apk del gcc git && \
|
||||||
|
|
|
@ -6,7 +6,6 @@ py3-docutils
|
||||||
py3-flask
|
py3-flask
|
||||||
py3-greenlet
|
py3-greenlet
|
||||||
py3-magic
|
py3-magic
|
||||||
py3-marshmallow
|
|
||||||
py3-mypy-extensions
|
py3-mypy-extensions
|
||||||
py3-otp
|
py3-otp
|
||||||
py3-psutil
|
py3-psutil
|
||||||
|
@ -16,11 +15,13 @@ py3-qrcode
|
||||||
py3-redis
|
py3-redis
|
||||||
py3-requests
|
py3-requests
|
||||||
py3-rsa
|
py3-rsa
|
||||||
|
py3-simplejson
|
||||||
py3-sqlalchemy
|
py3-sqlalchemy
|
||||||
py3-tornado
|
py3-tornado
|
||||||
py3-tz
|
py3-tz
|
||||||
py3-websocket-client
|
py3-websocket-client
|
||||||
py3-websockets
|
py3-websockets
|
||||||
|
py3-wheel
|
||||||
py3-yaml
|
py3-yaml
|
||||||
py3-zeroconf
|
py3-zeroconf
|
||||||
redis
|
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