mirror of
https://github.com/linuxserver/docker-changedetection.io.git
synced 2026-03-09 00:09:49 +08:00
Merge pull request #10 from linuxserver/3.17
This commit is contained in:
commit
bcfe2d92db
19
Dockerfile
19
Dockerfile
@ -1,4 +1,6 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.16
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.17
|
||||
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
@ -10,21 +12,17 @@ ENV PYTHONUNBUFFERED=1
|
||||
|
||||
RUN \
|
||||
apk add --update --no-cache --virtual=build-dependencies \
|
||||
build-base \
|
||||
cargo \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
libffi-dev \
|
||||
libxslt-dev \
|
||||
make \
|
||||
openssl-dev \
|
||||
py3-wheel \
|
||||
python3-dev \
|
||||
zlib-dev && \
|
||||
apk add --update --no-cache \
|
||||
libxslt \
|
||||
python3 \
|
||||
py3-pip && \
|
||||
python3 && \
|
||||
echo "**** install changedetection.io ****" && \
|
||||
mkdir -p /app/changedetection && \
|
||||
if [ -z ${CHANGEDETECTON_RELEASE+x} ]; then \
|
||||
@ -38,8 +36,11 @@ RUN \
|
||||
/tmp/changedetection.tar.gz -C \
|
||||
/app/changedetection/ --strip-components=1 && \
|
||||
rm /tmp/changedetection.tar.gz && \
|
||||
pip3 install -U pip wheel setuptools && \
|
||||
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ -r /app/changedetection/requirements.txt && \
|
||||
python3 -m ensurepip --upgrade && \
|
||||
pip3 install -U --no-cache-dir \
|
||||
pip \
|
||||
wheel && \
|
||||
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ -r /app/changedetection/requirements.txt && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.16
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.17
|
||||
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
@ -10,21 +12,17 @@ ENV PYTHONUNBUFFERED=1
|
||||
|
||||
RUN \
|
||||
apk add --update --no-cache --virtual=build-dependencies \
|
||||
build-base \
|
||||
cargo \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
libffi-dev \
|
||||
libxslt-dev \
|
||||
make \
|
||||
openssl-dev \
|
||||
py3-wheel \
|
||||
python3-dev \
|
||||
zlib-dev && \
|
||||
apk add --update --no-cache \
|
||||
libxslt \
|
||||
python3 \
|
||||
py3-pip && \
|
||||
python3 && \
|
||||
echo "**** install changedetection.io ****" && \
|
||||
mkdir -p /app/changedetection && \
|
||||
if [ -z ${CHANGEDETECTON_RELEASE+x} ]; then \
|
||||
@ -38,8 +36,11 @@ RUN \
|
||||
/tmp/changedetection.tar.gz -C \
|
||||
/app/changedetection/ --strip-components=1 && \
|
||||
rm /tmp/changedetection.tar.gz && \
|
||||
pip3 install -U pip wheel setuptools && \
|
||||
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ -r /app/changedetection/requirements.txt && \
|
||||
python3 -m ensurepip --upgrade && \
|
||||
pip3 install -U --no-cache-dir \
|
||||
pip \
|
||||
wheel && \
|
||||
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ -r /app/changedetection/requirements.txt && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.16
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.17
|
||||
|
||||
ARG BUILD_DATE
|
||||
ARG VERSION
|
||||
@ -10,21 +12,17 @@ ENV PYTHONUNBUFFERED=1
|
||||
|
||||
RUN \
|
||||
apk add --update --no-cache --virtual=build-dependencies \
|
||||
build-base \
|
||||
cargo \
|
||||
g++ \
|
||||
gcc \
|
||||
libc-dev \
|
||||
libffi-dev \
|
||||
libxslt-dev \
|
||||
make \
|
||||
openssl-dev \
|
||||
py3-wheel \
|
||||
python3-dev \
|
||||
zlib-dev && \
|
||||
apk add --update --no-cache \
|
||||
libxslt \
|
||||
python3 \
|
||||
py3-pip && \
|
||||
python3 && \
|
||||
echo "**** install changedetection.io ****" && \
|
||||
mkdir -p /app/changedetection && \
|
||||
if [ -z ${CHANGEDETECTON_RELEASE+x} ]; then \
|
||||
@ -38,8 +36,11 @@ RUN \
|
||||
/tmp/changedetection.tar.gz -C \
|
||||
/app/changedetection/ --strip-components=1 && \
|
||||
rm /tmp/changedetection.tar.gz && \
|
||||
pip3 install -U pip wheel setuptools && \
|
||||
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.16/ -r /app/changedetection/requirements.txt && \
|
||||
python3 -m ensurepip --upgrade && \
|
||||
pip3 install -U --no-cache-dir \
|
||||
pip \
|
||||
wheel && \
|
||||
pip3 install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.17/ -r /app/changedetection/requirements.txt && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
|
||||
@ -230,6 +230,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **05.03.23:** - Rebase to Alpine 3.17.
|
||||
* **23.10.22:** - Rebase to Alpine 3.16, migrate to s6v3.
|
||||
* **09.10.22:** - Add make as build dep to fix pip jq build on armhf.
|
||||
* **07.08.22:** - Initial release.
|
||||
|
||||
@ -63,6 +63,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "05.03.23:", desc: "Rebase to Alpine 3.17." }
|
||||
- { date: "23.10.22:", desc: "Rebase to Alpine 3.16, migrate to s6v3." }
|
||||
- { date: "09.10.22:", desc: "Add make as build dep to fix pip jq build on armhf." }
|
||||
- { date: "07.08.22:", desc: "Initial release." }
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
chown -R abc:abc \
|
||||
lsiown -R abc:abc \
|
||||
/app \
|
||||
/config \
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 5000" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user