[ansible][attitude-adjuster] remove cruft from ddclient Dockerfile

pull/28/head
Alpha Chen 5 years ago
parent 8e72f40aaa
commit 4f39381cbe

@ -8,12 +8,6 @@ RUN apk update && apk upgrade && \
curl \ curl \
make \ make \
perl \ perl \
# perl-utils \
# perl-test-taint \
# perl-netaddr-ip \
# perl-net-ip \
# perl-yaml \
# perl-log-log4perl \
perl-io-socket-ssl perl-io-socket-ssl
RUN cpan install Test::Requires && cpan Data::Validate::IP RUN cpan install Test::Requires && cpan Data::Validate::IP
@ -24,21 +18,6 @@ RUN cd tmp && \
mkdir /etc/ddclient && \ mkdir /etc/ddclient && \
mkdir -p /var/cache/ddclient mkdir -p /var/cache/ddclient
# RUN apk del --purge \
# build-dependencies && \
# rm -rf /tmp/*
# RUN apt-get update -y && \
# apt-get install -yq curl libdata-validate-ip-perl libio-socket-ip-perl libio-socket-ssl-perl libjson-any-perl perl && \
# 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 && \
# rm ddclient-3.9.0.tar.gz && \
# cp ddclient-3.9.0/ddclient /usr/sbin && \
# rm -rf ddclient-3.9.0 && \
# mkdir /etc/ddclient && \
# mkdir -p /var/cache/ddclient
VOLUME /etc/ddclient VOLUME /etc/ddclient
ENTRYPOINT [ "ddclient", "-daemon", "300", "-foreground", "-verbose" ] ENTRYPOINT [ "ddclient", "-daemon", "300", "-foreground", "-verbose" ]

Loading…
Cancel
Save