bcgov/SchemaSpy

Missing Caddy release when building

sam-warren opened this issue · 2 comments

Encountered an error involving a missing asset to building schema-spy. See: https://github.com/mholt/caddy/releases/download/v0.11.1/caddy_v0.11.1_linux_amd64.tar.gz returns a 404. Request this dependency is updated. Logs below:

Building schema-spy image ...
#1 [internal] load git source https://github.com/bcgov/SchemaSpy.git
#1 0.081 Initialized empty Git repository in /var/lib/docker/overlay2/rs3bprmlphcs24zy2bdwvknxb/diff/
#1 0.603 75d9eefd91b50ceac69865efe18bc11dad1d0fa1       refs/heads/master
#1 0.637 From https://github.com/bcgov/SchemaSpy
#1 0.637  * [new branch]      master     -> master
#1 0.637  * [new branch]      master     -> origin/master
#1 DONE 0.7s

#2 [internal] load metadata for docker.io/library/openjdk:jre-alpine
#2 DONE 1.3s

#3 [1/12] FROM docker.io/library/openjdk:jre-alpine@sha256:1bed441709482778...
#3 resolve docker.io/library/openjdk:jre-alpine@sha256:1bed44170948277881d88481ecbd07317eb7bae385560a9dd597bbfe02782766 done
#3 sha256:1bed44170948277881d88481ecbd07317eb7bae385560a9dd597bbfe02782766 2.03kB / 2.03kB done
#3 sha256:4da3b2460418a3d7bd9b4b6ee51951d5a6fdede28298c0a0106aa69dbac3937e 947B / 947B done
#3 sha256:ccfb0c83b2fedce997bb6e73e3f8d68a23bc15b0bc0b534c24ab2fe2239a80b5 3.42kB / 3.42kB done
#3 sha256:8e3ba11ec2a2b39ab372c60c16b421536e50e5ce64a0bc81765c2e38381bcff6 0B / 2.21MB 0.1s
#3 sha256:311ad0da45338842480bf25c6e6b7bb133b7b8cf709c3470db171ec370da5539 0B / 239B 0.1s
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 0B / 54.80MB 0.1s
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 3.07MB / 54.80MB 0.3s
#3 sha256:311ad0da45338842480bf25c6e6b7bb133b7b8cf709c3470db171ec370da5539 239B / 239B 0.3s done
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 6.82MB / 54.80MB 0.5s
#3 sha256:8e3ba11ec2a2b39ab372c60c16b421536e50e5ce64a0bc81765c2e38381bcff6 195.53kB / 2.21MB 0.7s
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 11.96MB / 54.80MB 0.7s
#3 sha256:8e3ba11ec2a2b39ab372c60c16b421536e50e5ce64a0bc81765c2e38381bcff6 1.12MB / 2.21MB 0.8s
#3 extracting sha256:8e3ba11ec2a2b39ab372c60c16b421536e50e5ce64a0bc81765c2e38381bcff6
#3 sha256:8e3ba11ec2a2b39ab372c60c16b421536e50e5ce64a0bc81765c2e38381bcff6 2.21MB / 2.21MB 0.8s done
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 16.75MB / 54.80MB 1.0s
#3 extracting sha256:8e3ba11ec2a2b39ab372c60c16b421536e50e5ce64a0bc81765c2e38381bcff6 0.2s done
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 21.39MB / 54.80MB 1.2s
#3 extracting sha256:311ad0da45338842480bf25c6e6b7bb133b7b8cf709c3470db171ec370da5539 done
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 25.85MB / 54.80MB 1.4s
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 32.47MB / 54.80MB 1.7s
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 39.02MB / 54.80MB 2.0s
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 43.55MB / 54.80MB 2.2s
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 47.96MB / 54.80MB 2.4s
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 54.22MB / 54.80MB 2.7s
#3 sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 54.80MB / 54.80MB 2.7s done
#3 extracting sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf
#3 extracting sha256:391a6a6b36513d84d55cbbe7e13bca7e92fbf257d910a5255f2b7bc9fcff4edf 0.7s done
#3 DONE 3.6s

#4 [2/12] RUN apk update &&     apk upgrade
#4 0.126 fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
#4 0.387 fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
#4 0.521 v3.8.5-65-g097f0358a9 [http://dl-cdn.alpinelinux.org/alpine/v3.8/main]
#4 0.521 v3.8.5-37-gf06ffe835a [http://dl-cdn.alpinelinux.org/alpine/v3.8/community]
#4 0.521 OK: 9587 distinct packages available
#4 0.603 Upgrading critical system libraries and apk-tools:
#4 0.603 (1/1) Upgrading apk-tools (2.10.0-r0 -> 2.10.1-r0)
#4 0.633 Executing busybox-1.28.4-r0.trigger
#4 0.648 Continuing the upgrade transaction with new apk-tools:
#4 0.720 (1/22) Upgrading musl (1.1.19-r10 -> 1.1.19-r11)
#4 0.770 (2/22) Upgrading busybox (1.28.4-r0 -> 1.28.4-r3)
#4 0.801 Executing busybox-1.28.4-r3.post-upgrade
#4 0.804 (3/22) Upgrading libressl2.7-libcrypto (2.7.4-r0 -> 2.7.5-r0)
#4 0.847 (4/22) Upgrading libressl2.7-libssl (2.7.4-r0 -> 2.7.5-r0)
#4 0.861 (5/22) Upgrading libressl2.7-libtls (2.7.4-r0 -> 2.7.5-r0)
#4 0.872 (6/22) Upgrading ssl_client (1.28.4-r0 -> 1.28.4-r3)
#4 0.882 (7/22) Upgrading musl-utils (1.1.19-r10 -> 1.1.19-r11)
#4 0.894 (8/22) Upgrading libtasn1 (4.13-r0 -> 4.14-r0)
#4 0.906 (9/22) Upgrading ca-certificates (20171114-r3 -> 20191127-r2)
#4 0.930 (10/22) Upgrading libx11 (1.6.5-r1 -> 1.6.6-r0)
#4 0.995 (11/22) Upgrading libbz2 (1.0.6-r6 -> 1.0.6-r7)
#4 1.008 (12/22) Upgrading libpng (1.6.34-r1 -> 1.6.37-r0)
#4 1.023 (13/22) Upgrading libgcc (6.4.0-r8 -> 6.4.0-r9)
#4 1.035 (14/22) Upgrading libjpeg-turbo (1.5.3-r1 -> 1.5.3-r6)
#4 1.052 (15/22) Upgrading libstdc++ (6.4.0-r8 -> 6.4.0-r9)
#4 1.079 (16/22) Upgrading openjdk8-jre-lib (8.171.11-r0 -> 8.222.10-r0)
#4 2.992 (17/22) Upgrading sqlite-libs (3.24.0-r0 -> 3.25.3-r4)
#4 3.021 (18/22) Upgrading nss (3.36.1-r0 -> 3.36.1-r1)
#4 3.086 (19/22) Upgrading libcom_err (1.44.2-r0 -> 1.44.2-r2)
#4 3.097 (20/22) Upgrading krb5-libs (1.15.2-r2 -> 1.15.4-r0)
#4 3.141 (21/22) Upgrading lcms2 (2.9-r0 -> 2.9-r1)
#4 3.156 (22/22) Upgrading openjdk8-jre-base (8.171.11-r0 -> 8.222.10-r0)
#4 3.357 Executing busybox-1.28.4-r3.trigger
#4 3.359 Executing ca-certificates-20191127-r2.trigger
#4 3.449 Executing java-common-0.1-r0.trigger
#4 3.452 OK: 82 MiB in 52 packages
#4 DONE 3.5s

#5 [3/12] RUN apk update &&     apk --no-cache add         tini         git...
#5 0.184 fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
#5 0.280 fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
#5 0.349 v3.8.5-65-g097f0358a9 [http://dl-cdn.alpinelinux.org/alpine/v3.8/main]
#5 0.349 v3.8.5-37-gf06ffe835a [http://dl-cdn.alpinelinux.org/alpine/v3.8/community]
#5 0.349 OK: 9564 distinct packages available
#5 0.362 fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
#5 0.454 fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
#5 0.523 (1/9) Installing nghttp2-libs (1.39.2-r0)
#5 0.536 (2/9) Installing libssh2 (1.9.0-r1)
#5 0.549 (3/9) Installing libcurl (7.61.1-r3)
#5 0.568 (4/9) Installing expat (2.2.8-r0)
#5 0.579 (5/9) Installing pcre2 (10.31-r0)
#5 0.598 (6/9) Installing git (2.18.4-r0)
#5 0.885 (7/9) Installing openssh-keygen (7.7_p1-r4)
#5 0.904 (8/9) Installing openssh-client (7.7_p1-r4)
#5 0.946 (9/9) Installing tini (0.18.0-r0)
#5 1.040 Executing busybox-1.28.4-r3.trigger
#5 1.044 OK: 99 MiB in 61 packages
#5 1.060 fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
#5 1.134 fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
#5 1.201 (1/3) Installing tar (1.32-r0)
#5 1.218 (2/3) Installing curl (7.61.1-r3)
#5 1.230 (3/3) Installing devs (0)
#5 1.230 Executing busybox-1.28.4-r3.trigger
#5 1.235 OK: 100 MiB in 64 packages
#5 DONE 1.3s

#6 [4/12] RUN curl -L "https://github.com/mholt/caddy/releases/download/v0....
#6 0.188   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#6 0.191                                  Dload  Upload   Total   Spent    Left  Speed
100     9  100     9    0     0     22      0 --:--:-- --:--:-- --:--:--    22
#6 0.587 gzip: invalid magic
#6 0.589 tar: Child returned status 1
#6 0.589 tar: Error is not recoverable: exiting now
#6 ERROR: executor failed running [/bin/sh -c curl -L "https://github.com/mholt/caddy/releases/download/v0.11.1/caddy_v0.11.1_linux_amd64.tar.gz"     | tar --no-same-owner -C /usr/bin/ -xz caddy]: runc did not terminate sucessfully
------
 > [4/12] RUN curl -L "https://github.com/mholt/caddy/releases/download/v0.11.1/caddy_v0.11.1_linux_amd64.tar.gz"     | tar --no-same-owner -C /usr/bin/ -xz caddy:
------
failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c curl -L "https://github.com/mholt/caddy/releases/download/v0.11.1/caddy_v0.11.1_linux_amd64.tar.gz"     | tar --no-same-owner -C /usr/bin/ -xz caddy]: runc did not terminate sucessfully

PR is ready to fix that: #12

Fixed, thanks! Closing.