16 lines
280 B
Text
16 lines
280 B
Text
|
FROM alpine:latest
|
||
|
|
||
|
RUN apk --no-cache add \
|
||
|
python3 \
|
||
|
py3-pip \
|
||
|
py3-yaml \
|
||
|
py3-click \
|
||
|
py3-dnspython \
|
||
|
&& python3 -m pip install \
|
||
|
ovh \
|
||
|
schema
|
||
|
|
||
|
COPY main.py /usr/local/bin/ovhddns
|
||
|
COPY periodic.sh /usr/local/bin/ovhddns-periodic
|
||
|
ENTRYPOINT [ "ovhddns-periodic" ]
|