You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
634 B

# vim: ft=dockerfile
FROM armhf/alpine
# https://wiki.alpinelinux.org/wiki/Ddclient
RUN apk update && apk upgrade && \
apk add \
curl \
make \
perl \
perl-io-socket-ssl
RUN cpan install Test::Requires && cpan Data::Validate::IP
RUN cd tmp && \
curl --location https://github.com/ddclient/ddclient/archive/v3.9.0.tar.gz > ddclient-3.9.0.tar.gz && \
tar xvz < ddclient-3.9.0.tar.gz && \
cp ddclient-3.9.0/ddclient /usr/sbin && \
mkdir /etc/ddclient && \
mkdir -p /var/cache/ddclient
VOLUME /etc/ddclient
ENTRYPOINT [ "ddclient", "-daemon", "300", "-foreground", "-verbose" ]