15 lines
280 B
Docker
15 lines
280 B
Docker
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" ]
|