added dyndns Docker image
Some checks failed
CI / Build dyndns docker images (push) Failing after 39s

This commit is contained in:
2025-09-01 22:01:53 +08:00
parent 93b67958b9
commit a41f51d17d
3 changed files with 56 additions and 0 deletions

12
dyndns/Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM alpine:3.22
RUN --mount=type=cache,target=/var/cache/apk apk add python3 pipx
RUN addgroup -S dyndns
RUN adduser -D -S -h /var/lib/dyndns -G dyndns dyndns
# ADD --chown=dyndns:dyndns pip.conf /var/lib/dyndns/.pip/pip.conf
USER dyndns
WORKDIR /var/lib/dyndns
RUN pipx install --index-url https://gitea.woggioni.net/api/packages/woggioni/pypi/simple/ wdyndns
ENV PATH="/var/lib/dyndns/.local/bin:$PATH"

3
dyndns/pip.conf Normal file
View File

@@ -0,0 +1,3 @@
[global]
index-url = https://gitea.woggioni.net/api/packages/woggioni/pypi/simple
#extra-index-url = https://pypi.org/simple