2023-02-21 20:45:50 +01:00
|
|
|
FROM alpine:latest
|
|
|
|
|
|
|
|
RUN apk --no-cache add \
|
|
|
|
python3 \
|
|
|
|
py3-pip \
|
|
|
|
py3-yaml \
|
|
|
|
py3-click \
|
|
|
|
py3-dnspython \
|
2023-12-11 13:54:13 +01:00
|
|
|
&& python3 -m pip install --break-system-packages \
|
2023-02-21 20:45:50 +01:00
|
|
|
ovh \
|
|
|
|
schema
|
|
|
|
|
|
|
|
COPY main.py /usr/local/bin/ovhddns
|
|
|
|
COPY periodic.sh /usr/local/bin/ovhddns-periodic
|
|
|
|
ENTRYPOINT [ "ovhddns-periodic" ]
|