Update integration test for "linuxserver" test build (#2891)

pull/2892/head
dgtlmoon 3 days ago committed by GitHub
parent d90de0851d
commit 5a0ef8fc01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,32 +2,33 @@
# Test that we can still build on Alpine (musl modified libc https://musl.libc.org/) # Test that we can still build on Alpine (musl modified libc https://musl.libc.org/)
# Some packages wont install via pypi because they dont have a wheel available under this architecture. # Some packages wont install via pypi because they dont have a wheel available under this architecture.
FROM ghcr.io/linuxserver/baseimage-alpine:3.18 FROM ghcr.io/linuxserver/baseimage-alpine:3.21
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
COPY requirements.txt /requirements.txt COPY requirements.txt /requirements.txt
RUN \ RUN \
apk add --update --no-cache --virtual=build-dependencies \ apk add --update --no-cache --virtual=build-dependencies \
build-base \
cargo \ cargo \
g++ \ git \
gcc \
jpeg-dev \ jpeg-dev \
libc-dev \ libc-dev \
libffi-dev \ libffi-dev \
libjpeg \
libxslt-dev \ libxslt-dev \
make \
openssl-dev \ openssl-dev \
py3-wheel \
python3-dev \ python3-dev \
zip \
zlib-dev && \ zlib-dev && \
apk add --update --no-cache \ apk add --update --no-cache \
libjpeg \
libxslt \ libxslt \
python3 \ nodejs \
py3-pip && \ poppler-utils \
python3 && \
echo "**** pip3 install test of changedetection.io ****" && \ echo "**** pip3 install test of changedetection.io ****" && \
pip3 install -U pip wheel setuptools && \ python3 -m venv /lsiopy && \
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.18/ -r /requirements.txt && \ pip install -U pip wheel setuptools && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.21/ -r /requirements.txt && \
apk del --purge \ apk del --purge \
build-dependencies build-dependencies

Loading…
Cancel
Save