From 5a0ef8fc01d309617ee4cd45a4e4a5107a78dca0 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 9 Jan 2025 21:36:39 +0100 Subject: [PATCH] Update integration test for "linuxserver" test build (#2891) --- .github/test/Dockerfile-alpine | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/test/Dockerfile-alpine b/.github/test/Dockerfile-alpine index aab923b22b4..132391671f5 100644 --- a/.github/test/Dockerfile-alpine +++ b/.github/test/Dockerfile-alpine @@ -2,32 +2,33 @@ # 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. -FROM ghcr.io/linuxserver/baseimage-alpine:3.18 +FROM ghcr.io/linuxserver/baseimage-alpine:3.21 ENV PYTHONUNBUFFERED=1 COPY requirements.txt /requirements.txt RUN \ - apk add --update --no-cache --virtual=build-dependencies \ + apk add --update --no-cache --virtual=build-dependencies \ + build-base \ cargo \ - g++ \ - gcc \ + git \ jpeg-dev \ libc-dev \ libffi-dev \ - libjpeg \ libxslt-dev \ - make \ openssl-dev \ - py3-wheel \ python3-dev \ + zip \ zlib-dev && \ apk add --update --no-cache \ + libjpeg \ libxslt \ - python3 \ - py3-pip && \ + nodejs \ + poppler-utils \ + python3 && \ echo "**** pip3 install test of changedetection.io ****" && \ - pip3 install -U pip wheel setuptools && \ - pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.18/ -r /requirements.txt && \ + python3 -m venv /lsiopy && \ + 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 \ build-dependencies