From 61eb6d09fcfaf33e05683935f36a669d56dcfaad Mon Sep 17 00:00:00 2001 From: chbmb Date: Sun, 29 Sep 2019 10:37:12 +0100 Subject: [PATCH] Add curl to runtime packages (#24) Following a report on Discord. I'm struggling with the ddclient docker container because it doesn't has curl installed and my dyndns host needs it to update everything, what should I do to get it into your image? :heart: here is an example what I have to enter to get it to run: ``` protocol=dyndns2 use=if, if=eth0 ssl=yes use=cmd, cmd='curl https://checkipv4.dedyn.io/' server=update.dedyn.io login=XXXX.dedyn.io password='XXXX' XXXX.dedyn.io ``` That is what the log says to me: ``` Can't exec "curl": No such file or directory at /usr/bin/ddclient line 2175. WARNING: found neither ipv4 nor ipv6 address ``` --- Dockerfile | 2 +- Dockerfile.aarch64 | 2 +- Dockerfile.armhf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a4ce0d2..01ec142 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,13 +11,13 @@ RUN \ echo "**** install build packages ****" && \ apk add --no-cache --virtual=build-dependencies \ bzip2 \ - curl \ gcc \ make \ tar \ wget && \ echo "**** install runtime packages ****" && \ apk add --no-cache \ + curl \ inotify-tools \ jq \ perl \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 0589e5d..0bb027c 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -11,13 +11,13 @@ RUN \ echo "**** install build packages ****" && \ apk add --no-cache --virtual=build-dependencies \ bzip2 \ - curl \ gcc \ make \ tar \ wget && \ echo "**** install runtime packages ****" && \ apk add --no-cache \ + curl \ inotify-tools \ jq \ perl \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 6174a1a..f95b5e7 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -11,13 +11,13 @@ RUN \ echo "**** install build packages ****" && \ apk add --no-cache --virtual=build-dependencies \ bzip2 \ - curl \ gcc \ make \ tar \ wget && \ echo "**** install runtime packages ****" && \ apk add --no-cache \ + curl \ inotify-tools \ jq \ perl \