Skip to content

Commit b643994

Browse files
authored
Merge pull request #32 from linuxserver/3.23
Rebase to 3.23
2 parents ed1adbf + b184e34 commit b643994

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine:3.22
3+
FROM ghcr.io/linuxserver/baseimage-alpine:3.23
44

55
ARG BUILD_DATE
66
ARG VERSION
77
ARG CHANGEDETECTION_RELEASE
88
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
99
LABEL maintainer="thespad"
1010

11-
ENV PYTHONUNBUFFERED=1
11+
ENV PYTHONUNBUFFERED=1 \
12+
CRYPTOGRAPHY_DONT_BUILD_RUST=1
1213

1314
RUN \
1415
apk add --update --no-cache --virtual=build-dependencies \
@@ -46,18 +47,16 @@ RUN \
4647
python3 -m venv /lsiopy && \
4748
pip install -U --no-cache-dir \
4849
pip \
49-
setuptools \
50-
wheel && \
51-
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.22/ -r /app/changedetection/requirements.txt && \
50+
setuptools && \
51+
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.23/ -r /app/changedetection/requirements.txt && \
5252
PLAYWRIGHT_PY_RELEASE=$(curl -sX GET "https://api.github.com/repos/microsoft/playwright-python/releases/latest" \
5353
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
5454
git clone --depth 1 --branch "${PLAYWRIGHT_PY_RELEASE}" https://github.com/microsoft/playwright-python /tmp/playwright-python && \
5555
cd /tmp/playwright-python && \
5656
pip install -U --no-cache-dir . && \
5757
rm -f /lsiopy/lib/python3.12/site-packages/playwright/driver/node && \
5858
ln -s /usr/bin/node /lsiopy/lib/python3.12/site-packages/playwright/driver/node && \
59-
# Force UTF-8 encoding for browser steps to prevent exception
60-
sed -i "s|xpath_element_js = importlib.resources.files(\"changedetectionio.content_fetchers.res\").joinpath('xpath_element_scraper.js').read_text()|xpath_element_js = importlib.resources.files(\"changedetectionio.content_fetchers.res\").joinpath('xpath_element_scraper.js').read_text(encoding='utf-8')|" /app/changedetection/changedetectionio/blueprint/browser_steps/browser_steps.py && \
59+
pybabel compile -d /app/changedetection/changedetectionio/translations && \
6160
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
6261
echo "**** cleanup ****" && \
6362
apk del --purge \

Dockerfile.aarch64

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.22
3+
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.23
44

55
ARG BUILD_DATE
66
ARG VERSION
77
ARG CHANGEDETECTION_RELEASE
88
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
99
LABEL maintainer="thespad"
1010

11-
ENV PYTHONUNBUFFERED=1
11+
ENV PYTHONUNBUFFERED=1 \
12+
CRYPTOGRAPHY_DONT_BUILD_RUST=1
1213

1314
RUN \
1415
apk add --update --no-cache --virtual=build-dependencies \
@@ -46,9 +47,8 @@ RUN \
4647
python3 -m venv /lsiopy && \
4748
pip install -U --no-cache-dir \
4849
pip \
49-
setuptools \
50-
wheel && \
51-
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.22/ -r /app/changedetection/requirements.txt && \
50+
setuptools && \
51+
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.23/ -r /app/changedetection/requirements.txt && \
5252
echo "**** install playwright ****" && \
5353
PLAYWRIGHT_PY_RELEASE=$(curl -sX GET "https://api.github.com/repos/microsoft/playwright-python/releases/latest" \
5454
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
@@ -57,8 +57,7 @@ RUN \
5757
pip install -U --no-cache-dir . && \
5858
rm -f /lsiopy/lib/python3.12/site-packages/playwright/driver/node && \
5959
ln -s /usr/bin/node /lsiopy/lib/python3.12/site-packages/playwright/driver/node && \
60-
# Force UTF-8 encoding for browser steps to prevent exception
61-
sed -i "s|xpath_element_js = importlib.resources.files(\"changedetectionio.content_fetchers.res\").joinpath('xpath_element_scraper.js').read_text()|xpath_element_js = importlib.resources.files(\"changedetectionio.content_fetchers.res\").joinpath('xpath_element_scraper.js').read_text(encoding='utf-8')|" /app/changedetection/changedetectionio/blueprint/browser_steps/browser_steps.py && \
60+
pybabel compile -d /app/changedetection/changedetectionio/translations && \
6261
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
6362
echo "**** cleanup ****" && \
6463
apk del --purge \

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
292292

293293
## Versions
294294

295+
* **18.01.26:** - Rebase to Alpine 3.23.
295296
* **05.07.25:** - Rebase to Alpine 3.22.
296297
* **19.12.24:** - Rebase to Alpine 3.21.
297298
* **31.05.24:** - Rebase to Alpine 3.20.

readme-vars.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ init_diagram: |
9595
"changedetection.io:latest" <- Base Images
9696
# changelog
9797
changelogs:
98+
- {date: "18.02.26:", desc: "Rebase to Alpine 3.23."}
9899
- {date: "05.07.25:", desc: "Rebase to Alpine 3.22."}
99100
- {date: "19.12.24:", desc: "Rebase to Alpine 3.21."}
100101
- {date: "31.05.24:", desc: "Rebase to Alpine 3.20."}

0 commit comments

Comments
 (0)