Closed y3lousso closed 4 years ago
I tried to "Test the container" using ./build.sh and got this :
UPDATE : Problem similar to #39
Sending build context to Docker daemon 144.9kB Step 1/28 : FROM alpine:3.10.1 as certs 3.10.1: Pulling from library/alpine 050382585609: Already exists Digest: sha256:6a92cd1fcdc8d8cdec60f33dda4db2cb1fcdcacf3410a8e05b3741f44a9b5998 Status: Downloaded newer image for alpine:3.10.1 ---> b7b28af77ffe Step 2/28 : RUN apk add --no-cache ca-certificates ---> Running in 258a0c4f1a78 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz (1/1) Installing ca-certificates (20190108-r0) Executing busybox-1.30.1-r2.trigger Executing ca-certificates-20190108-r0.trigger OK: 6 MiB in 15 packages Removing intermediate container 258a0c4f1a78 ---> fdce6f8f97e9 Step 3/28 : ENV RESTIC_VERSION=0.9.5 ---> Running in f6c3ab01c723 Removing intermediate container f6c3ab01c723 ---> 4e811e109509 Step 4/28 : ADD https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_amd64.bz2 / Downloading [==================================================>] 6.391MB/6.391MB ---> 9d31db891613 Step 5/28 : RUN bzip2 -d restic_${RESTIC_VERSION}_linux_amd64.bz2 && mv restic_${RESTIC_VERSION}_linux_amd64 /bin/restic && chmod +x /bin/restic ---> Running in 5158bd4d1769 Removing intermediate container 5158bd4d1769 ---> fa88fdf75277 Step 6/28 : FROM alpine as rclone latest: Pulling from library/alpine 89d9c30c1d48: Pull complete Digest: sha256:c19173c5ada610a5989151111163d28a67368362762534d8a8121ce95cf2bd5a Status: Downloaded newer image for alpine:latest ---> 965eaSending build context to Docker daemon 144.9kB Step 1/28 : FROM alpine:3.10.1 as certs 3.10.1: Pulling from library/alpine 050382585609: Already exists Digest: sha256:6a92cd1fcdc8d8cdec60f33dda4db2cb1fcdcacf3410a8e05b3741f44a9b5998 Status: Downloaded newer image for alpine:3.10.1 ---> b7b28af77ffe Step 2/28 : RUN apk add --no-cache ca-certificates ---> Running in 258a0c4f1a78 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz (1/1) Installing ca-certificates (20190108-r0) Executing busybox-1.30.1-r2.trigger Executing ca-certificates-20190108-r0.trigger OK: 6 MiB in 15 packages Removing intermediate container 258a0c4f1a78 ---> fdce6f8f97e9 Step 3/28 : ENV RESTIC_VERSION=0.9.5 ---> Running in f6c3ab01c723 Removing intermediate container f6c3ab01c723 ---> 4e811e109509 Step 4/28 : ADD https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_amd64.bz2 / Downloading [==================================================>] 6.391MB/6.391MB ---> 9d31db891613 Step 5/28 : RUN bzip2 -d restic_${RESTIC_VERSION}_linux_amd64.bz2 && mv restic_${RESTIC_VERSION}_linux_amd64 /bin/restic && chmod +x /bin/restic ---> Running in 5158bd4d1769 Removing intermediate container 5158bd4d1769 ---> fa88fdf75277 Step 6/28 : FROM alpine as rclone latest: Pulling from library/alpine 89d9c30c1d48: Pull complete Digest: sha256:c19173c5ada610a5989151111163d28a67368362762534d8a8121ce95cf2bd5a Status: Downloaded newer image for alpine:latest ---> 965ea09ff2eb Step 7/28 : ADD https://downloads.rclone.org/rclone-current-linux-amd64.zip / Downloading [==================================================>] 11.56MB/11.56MB ---> 09f8c9716466 Step 8/28 : RUN unzip rclone-current-linux-amd64.zip && mv rclone-*-linux-amd64/rclone /bin/rclone && chmod +x /bin/rclone ---> Running in 8834c250f8cc Archive: rclone-current-linux-amd64.zip creating: rclone-v1.49.5-linux-amd64/ inflating: rclone-v1.49.5-linux-amd64/README.html inflating: rclone-v1.49.5-linux-amd64/rclone.1 inflating: rclone-v1.49.5-linux-amd64/git-log.txt inflating: rclone-v1.49.5-linux-amd64/README.txt inflating: rclone-v1.49.5-linux-amd64/rclone Removing intermediate container 8834c250f8cc ---> b8bd33c3d35a Step 9/28 : FROM busybox:glibc glibc: Pulling from library/busybox aff645f24c1e: Pull complete Digest: sha256:7c15dc145873c379dc0b1771da742b64754a9b4d3437d243e4d9f44f496cf6e5 Status: Downloaded newer image for busybox:glibc ---> 8dacfc772af7 Step 10/28 : RUN apk add --update --no-cache heirloom-mailx ---> Running in b10c22379eb4 /bin/sh: apk: not found The command '/bin/sh -c apk add --update --no-cache heirloom-mailx' returned a non-zero code: 12709ff2eb Step 7/28 : ADD https://downloads.rclone.org/rclone-current-linux-amd64.zip / Downloading [==================================================>] 11.56MB/11.56MB ---> 09f8c9716466 Step 8/28 : RUN unzip rclone-current-linux-amd64.zip && mv rclone-*-linux-amd64/rclone /bin/rclone && chmod +x /bin/rclone ---> Running in 8834c250f8cc Archive: rclone-current-linux-amd64.zip creating: rclone-v1.49.5-linux-amd64/ inflating: rclone-v1.49.5-linux-amd64/README.html inflating: rclone-v1.49.5-linux-amd64/rclone.1 inflating: rclone-v1.49.5-linux-amd64/git-log.txt inflating: rclone-v1.49.5-linux-amd64/README.txt inflating: rclone-v1.49.5-linux-amd64/rclone Removing intermediate container 8834c250f8cc ---> b8bd33c3d35a Step 9/28 : FROM busybox:glibc glibc: Pulling from library/busybox aff645f24c1e: Pull complete Digest: sha256:7c15dc145873c379dc0b1771da742b64754a9b4d3437d243e4d9f44f496cf6e5 Status: Downloaded newer image for busybox:glibc ---> 8dacfc772af7 Step 10/28 : RUN apk add --update --no-cache heirloom-mailx ---> Running in b10c22379eb4 /bin/sh: apk: not found The command '/bin/sh -c apk add --update --no-cache heirloom-mailx' returned a non-zero code: 127
Problem solved using the solution of #41.
I tried to "Test the container" using ./build.sh and got this :
UPDATE : Problem similar to #39