added dyndns Docker image
All checks were successful
CI / Build dyndns docker images (push) Successful in 2m57s
All checks were successful
CI / Build dyndns docker images (push) Successful in 2m57s
This commit is contained in:
12
dyndns/Dockerfile
Normal file
12
dyndns/Dockerfile
Normal 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 dyndns
|
||||
ENV PATH="/var/lib/dyndns/.local/bin:$PATH"
|
3
dyndns/pip.conf
Normal file
3
dyndns/pip.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
[global]
|
||||
index-url = https://gitea.woggioni.net/api/packages/woggioni/pypi/simple
|
||||
extra-index-url = https://pypi.org/simple
|
5
dyndns/pypirc
Normal file
5
dyndns/pypirc
Normal file
@@ -0,0 +1,5 @@
|
||||
[distutils]
|
||||
index-servers = gitea
|
||||
|
||||
[gitea]
|
||||
repository = https://gitea.woggioni.net/api/packages/woggioni/pypi/simple
|
Reference in New Issue
Block a user