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

This commit is contained in:
2025-09-01 22:01:53 +08:00
parent 93b67958b9
commit 589ae07c4e
4 changed files with 61 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 pi.conf /var/lib/dyndns/.pip/pip.conf
USER dyndns
WORKDIR /var/lib/dyndns
RUN pipx install dyndns
ENV PATH="/var/lib/dyndns/.local/bin:$PATH"