Skip to content

Commit b184e34

Browse files
committed
Unpin playwright, remove wheel
1 parent 3bb28f8 commit b184e34

5 files changed

Lines changed: 14 additions & 16 deletions

File tree

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ 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,12 +47,10 @@ RUN \
4647
python3 -m venv /lsiopy && \
4748
pip install -U --no-cache-dir \
4849
pip \
49-
setuptools \
50-
wheel && \
50+
setuptools && \
5151
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.23/ -r /app/changedetection/requirements.txt && \
52-
# PLAYWRIGHT_PY_RELEASE=$(curl -sX GET "https://api.github.com/repos/microsoft/playwright-python/releases/latest" \
53-
# | awk '/tag_name/{print $4;exit}' FS='[""]'); \
54-
PLAYWRIGHT_PY_RELEASE="release-1.56" && \
52+
PLAYWRIGHT_PY_RELEASE=$(curl -sX GET "https://api.github.com/repos/microsoft/playwright-python/releases/latest" \
53+
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
5554
git clone --depth 1 --branch "${PLAYWRIGHT_PY_RELEASE}" https://github.com/microsoft/playwright-python /tmp/playwright-python && \
5655
cd /tmp/playwright-python && \
5756
pip install -U --no-cache-dir . && \

Dockerfile.aarch64

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ 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,13 +47,11 @@ RUN \
4647
python3 -m venv /lsiopy && \
4748
pip install -U --no-cache-dir \
4849
pip \
49-
setuptools \
50-
wheel && \
50+
setuptools && \
5151
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 ****" && \
53-
# PLAYWRIGHT_PY_RELEASE=$(curl -sX GET "https://api.github.com/repos/microsoft/playwright-python/releases/latest" \
54-
# | awk '/tag_name/{print $4;exit}' FS='[""]'); \
55-
PLAYWRIGHT_PY_RELEASE="release-1.56" && \
53+
PLAYWRIGHT_PY_RELEASE=$(curl -sX GET "https://api.github.com/repos/microsoft/playwright-python/releases/latest" \
54+
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
5655
git clone --depth 1 --branch "${PLAYWRIGHT_PY_RELEASE}" https://github.com/microsoft/playwright-python /tmp/playwright-python && \
5756
cd /tmp/playwright-python && \
5857
pip install -U --no-cache-dir . && \

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ pipeline {
293293
-v ${WORKSPACE}:/mnt \
294294
-e AWS_ACCESS_KEY_ID=\"${S3_KEY}\" \
295295
-e AWS_SECRET_ACCESS_KEY=\"${S3_SECRET}\" \
296-
ghcr.io/linuxserver/baseimage-alpine:3 s6-envdir -fn -- /var/run/s6/container_environment /bin/bash -c "\
296+
ghcr.io/linuxserver/baseimage-alpine:3.23 s6-envdir -fn -- /var/run/s6/container_environment /bin/bash -c "\
297297
apk add --no-cache python3 && \
298298
python3 -m venv /lsiopy && \
299299
pip install --no-cache-dir -U pip && \

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ This image can be run with a non-root user. For details please [read the docs](h
7575
To help you get started creating a container from this image you can either use docker-compose or the docker cli.
7676

7777
>[!NOTE]
78-
>Unless a parameter is flaged as 'optional', it is *mandatory* and a value must be provided.
78+
>Unless a parameter is flagged as 'optional', it is *mandatory* and a value must be provided.
7979
8080
### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))
8181

@@ -292,7 +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. Pin Playright to v1.56.1
295+
* **18.01.26:** - Rebase to Alpine 3.23.
296296
* **05.07.25:** - Rebase to Alpine 3.22.
297297
* **19.12.24:** - Rebase to Alpine 3.21.
298298
* **31.05.24:** - Rebase to Alpine 3.20.

readme-vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ init_diagram: |
9595
"changedetection.io:latest" <- Base Images
9696
# changelog
9797
changelogs:
98-
- {date: "18.01.26:", desc: "Rebase to Alpine 3.23. Pin Playright to v1.56"}
98+
- {date: "18.02.26:", desc: "Rebase to Alpine 3.23."}
9999
- {date: "05.07.25:", desc: "Rebase to Alpine 3.22."}
100100
- {date: "19.12.24:", desc: "Rebase to Alpine 3.21."}
101101
- {date: "31.05.24:", desc: "Rebase to Alpine 3.20."}

0 commit comments

Comments
 (0)