Update ubuntu Docker tag to v24 (develop) #8
Jenkins-Linkurious / CI/Jenkins
failed
Apr 27, 2024 in 1m 13s
Build/docker/Build:docker: error in 'sh' step
Build / docker / Build:docker / Shell Script
Error in sh
step, with arguments buildctl --addr "kube-pod://buildkitd-0" build --frontend dockerfile.v0 --local context="." --local dockerfile="." --opt filename="Dockerfile" --opt build-arg:PRIVATE_REGISTRY=hub.docker.nexus3.vpc.prod.scw-par1.linkurious.net/ --opt build-arg:BUILD_ENV=test --opt build-arg:BUILD_VERSION=0.0.2-PR-8.1 --opt build-arg:NPM_TOKEN=${NPM_TOKEN} --output type=image,name="linkurious/docker-curl-jq:0.0.2-PR-8.1",push=false
.
script returned exit code 1
Build log
[2024-04-27T09:00:57.525Z] + buildctl --addr kube-pod://buildkitd-0 build --frontend dockerfile.v0 --local context=. --local dockerfile=. --opt filename=Dockerfile --opt build-arg:PRIVATE_REGISTRY=hub.docker.nexus3.vpc.prod.scw-par1.linkurious.net/ --opt build-arg:BUILD_ENV=test --opt build-arg:BUILD_VERSION=0.0.2-PR-8.1 --opt build-arg:NPM_TOKEN=**** --output type=image,name=linkurious/docker-curl-jq:0.0.2-PR-8.1,push=false
[2024-04-27T09:00:58.906Z] #1 [internal] load build definition from Dockerfile
[2024-04-27T09:00:58.907Z] #1 transferring dockerfile:
[2024-04-27T09:00:59.166Z] #1 transferring dockerfile: 1.40kB 0.0s done
[2024-04-27T09:00:59.166Z] #1 DONE 0.2s
[2024-04-27T09:00:59.166Z]
[2024-04-27T09:00:59.166Z] #2 [internal] load metadata for docker.io/library/ubuntu:24.04
[2024-04-27T09:01:00.547Z] #2 DONE 1.7s
[2024-04-27T09:01:00.808Z]
[2024-04-27T09:01:00.808Z] #3 [internal] load .dockerignore
[2024-04-27T09:01:00.808Z] #3 transferring context: 130B 0.0s done
[2024-04-27T09:01:00.808Z] #3 DONE 0.1s
[2024-04-27T09:01:01.069Z]
[2024-04-27T09:01:01.069Z] #4 [1/2] FROM docker.io/library/ubuntu:24.04@sha256:562456a05a0dbd62a671c1854868862a4687bf979a96d48ae8e766642cd911e8
[2024-04-27T09:01:01.069Z] #4 resolve docker.io/library/ubuntu:24.04@sha256:562456a05a0dbd62a671c1854868862a4687bf979a96d48ae8e766642cd911e8
[2024-04-27T09:01:01.331Z] #4 resolve docker.io/library/ubuntu:24.04@sha256:562456a05a0dbd62a671c1854868862a4687bf979a96d48ae8e766642cd911e8 0.3s done
[2024-04-27T09:01:01.903Z] #4 DONE 0.9s
[2024-04-27T09:01:01.903Z]
[2024-04-27T09:01:01.903Z] #4 [1/2] FROM docker.io/library/ubuntu:24.04@sha256:562456a05a0dbd62a671c1854868862a4687bf979a96d48ae8e766642cd911e8
[2024-04-27T09:01:01.903Z] #4 sha256:fdcaa7e87498b7e172f808aa62dfb30c533563cb3e474262835357118da1f260 0B / 28.86MB 0.2s
[2024-04-27T09:01:02.164Z] #4 sha256:fdcaa7e87498b7e172f808aa62dfb30c533563cb3e474262835357118da1f260 12.58MB / 28.86MB 0.3s
[2024-04-27T09:01:02.427Z] #4 sha256:fdcaa7e87498b7e172f808aa62dfb30c533563cb3e474262835357118da1f260 25.17MB / 28.86MB 0.5s
[2024-04-27T09:01:02.427Z] #4 sha256:fdcaa7e87498b7e172f808aa62dfb30c533563cb3e474262835357118da1f260 28.86MB / 28.86MB 0.6s done
[2024-04-27T09:01:02.690Z] #4 extracting sha256:fdcaa7e87498b7e172f808aa62dfb30c533563cb3e474262835357118da1f260
[2024-04-27T09:01:03.628Z] #4 extracting sha256:fdcaa7e87498b7e172f808aa62dfb30c533563cb3e474262835357118da1f260 1.0s done
[2024-04-27T09:01:03.628Z] #4 DONE 2.6s
[2024-04-27T09:01:03.628Z]
[2024-04-27T09:01:03.628Z] #5 [2/2] RUN apt-get update -y && apt-get install -y --no-install-recommends ca-certificates=20230311ubuntu0.22.04.1 curl=7.81.0-1ubuntu1.16 dnsutils=1:9.18.18-0ubuntu0.22.04.2 jq=1.6-2.1ubuntu3 && apt-get autoremove -y && apt-get clean -y && rm -rf /tmp/* /var/tmp/* /var/cache/apt/archives/* /var/lib/apt/lists/*
[2024-04-27T09:01:04.198Z] #5 0.525 Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [90.7 kB]
[2024-04-27T09:01:04.198Z] #5 0.559 Get:2 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]
[2024-04-27T09:01:04.771Z] #5 1.116 Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [89.7 kB]
[2024-04-27T09:01:04.771Z] #5 1.243 Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [90.8 kB]
[2024-04-27T09:01:04.771Z] #5 1.369 Get:5 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1808 kB]
[2024-04-27T09:01:05.345Z] #5 1.701 Get:6 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [117 kB]
[2024-04-27T09:01:05.345Z] #5 1.701 Get:7 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [19.3 MB]
[2024-04-27T09:01:05.917Z] #5 2.401 Get:8 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [331 kB]
[2024-04-27T09:01:06.858Z] #5 3.108 Fetched 22.1 MB in 3s (7980 kB/s)
[2024-04-27T09:01:07.427Z] #5 3.108 Reading package lists...
[2024-04-27T09:01:07.998Z] #5 3.805 Reading package lists...
[2024-04-27T09:01:08.258Z] #5 4.524 Building dependency tree...
[2024-04-27T09:01:08.258Z] #5 4.704 Reading state information...
[2024-04-27T09:01:08.519Z] #5 4.723 Package ca-certificates is not available, but is referred to by another package.
[2024-04-27T09:01:08.519Z] #5 4.723 This may mean that the package is missing, has been obsoleted, or
[2024-04-27T09:01:08.519Z] #5 4.723 is only available from another source
[2024-04-27T09:01:08.519Z] #5 4.723
[2024-04-27T09:01:08.519Z] #5 4.723 Package dnsutils is a virtual package provided by:
[2024-04-27T09:01:08.519Z] #5 4.723 bind9-dnsutils 1:9.18.24-0ubuntu5
[2024-04-27T09:01:08.519Z] #5 4.723
[2024-04-27T09:01:08.519Z] #5 4.723 Package curl is not available, but is referred to by another package.
[2024-04-27T09:01:08.519Z] #5 4.723 This may mean that the package is missing, has been obsoleted, or
[2024-04-27T09:01:08.519Z] #5 4.723 is only available from another source
[2024-04-27T09:01:08.519Z] #5 4.723
[2024-04-27T09:01:08.519Z] #5 4.723 Package jq is not available, but is referred to by another package.
[2024-04-27T09:01:08.519Z] #5 4.723 This may mean that the package is missing, has been obsoleted, or
[2024-04-27T09:01:08.520Z] #5 4.723 is only available from another source
[2024-04-27T09:01:08.520Z] #5 4.723
[2024-04-27T09:01:08.520Z] #5 4.727 E: Version '20230311ubuntu0.22.04.1' for 'ca-certificates' was not found
[2024-04-27T09:01:08.520Z] #5 4.727 E: Version '7.81.0-1ubuntu1.16' for 'curl' was not found
[2024-04-27T09:01:08.520Z] #5 4.727 E: Version '1:9.18.18-0ubuntu0.22.04.2' for 'dnsutils' was not found
[2024-04-27T09:01:08.520Z] #5 4.727 E: Version '1.6-2.1ubuntu3' for 'jq' was not found
[2024-04-27T09:01:08.520Z] #5 ERROR: process "/bin/sh -c apt-get update -y && apt-get install -y --no-install-recommends ca-certificates=$CA_CERTIFICATES_VERSION curl=$CURL_VERSION dnsutils=$DNSUTILS_VERSION jq=$JQ_VERSION && apt-get autoremove -y && apt-get clean -y && rm -rf /tmp/* /var/tmp/* /var/cache/apt/archives/* /var/lib/apt/lists/*" did not complete successfully: exit code: 100
[2024-04-27T09:01:08.781Z] ------
[2024-04-27T09:01:08.782Z] > [2/2] RUN apt-get update -y && apt-get install -y --no-install-recommends ca-certificates=20230311ubuntu0.22.04.1 curl=7.81.0-1ubuntu1.16 dnsutils=1:9.18.18-0ubuntu0.22.04.2 jq=1.6-2.1ubuntu3 && apt-get autoremove -y && apt-get clean -y && rm -rf /tmp/* /var/tmp/* /var/cache/apt/archives/* /var/lib/apt/lists/*:
[2024-04-27T09:01:08.782Z] 4.723 is only available from another source
[2024-04-27T09:01:08.782Z] 4.723
[2024-04-27T09:01:08.782Z] 4.723 Package jq is not available, but is referred to by another package.
[2024-04-27T09:01:08.782Z] 4.723 This may mean that the package is missing, has been obsoleted, or
[2024-04-27T09:01:08.782Z] 4.723 is only available from another source
[2024-04-27T09:01:08.782Z] 4.723
[2024-04-27T09:01:08.782Z] 4.727 E: Version '20230311ubuntu0.22.04.1' for 'ca-certificates' was not found
[2024-04-27T09:01:08.782Z] 4.727 E: Version '7.81.0-1ubuntu1.16' for 'curl' was not found
[2024-04-27T09:01:08.782Z] 4.727 E: Version '1:9.18.18-0ubuntu0.22.04.2' for 'dnsutils' was not found
[2024-04-27T09:01:08.782Z] 4.727 E: Version '1.6-2.1ubuntu3' for 'jq' was not found
[2024-04-27T09:01:08.782Z] ------
[2024-04-27T09:01:08.782Z] Dockerfile:12
[2024-04-27T09:01:08.782Z] --------------------
[2024-04-27T09:01:08.782Z] 11 |
[2024-04-27T09:01:08.782Z] 12 | >>> RUN apt-get update -y && \
[2024-04-27T09:01:08.782Z] 13 | >>> apt-get install -y --no-install-recommends\
[2024-04-27T09:01:08.782Z] 14 | >>> ca-certificates=$CA_CERTIFICATES_VERSION \
[2024-04-27T09:01:08.782Z] 15 | >>> curl=$CURL_VERSION \
[2024-04-27T09:01:08.782Z] 16 | >>> dnsutils=$DNSUTILS_VERSION \
[2024-04-27T09:01:08.782Z] 17 | >>> jq=$JQ_VERSION \
[2024-04-27T09:01:08.782Z] 18 | >>> && apt-get autoremove -y \
[2024-04-27T09:01:08.782Z] 19 | >>> && apt-get clean -y \
[2024-04-27T09:01:08.782Z] 20 | >>> && rm -rf /tmp/* /var/tmp/* /var/cache/apt/archives/* /var/lib/apt/lists/*
[2024-04-27T09:01:08.782Z] 21 |
[2024-04-27T09:01:08.782Z] --------------------
[2024-04-27T09:01:08.782Z] error: failed to solve: process "/bin/sh -c apt-get update -y && apt-get install -y --no-install-recommends ca-certificates=$CA_CERTIFICATES_VERSION curl=$CURL_VERSION dnsutils=$DNSUTILS_VERSION jq=$JQ_VERSION && apt-get autoremove -y && apt-get clean -y && rm -rf /tmp/* /var/tmp/* /var/cache/apt/archives/* /var/lib/apt/lists/*" did not complete successfully: exit code: 100
Details
- Prepare (17 sec)
- Lint (12 sec)
- docker (9 ms)
- Lint:docker (8 sec)
- Helm (8.7 sec)
- Lint:Helm (5.5 sec)
- docker (9 ms)
- Build (24 sec)
- docker (9 ms)
- Build:docker (17 sec)
Error: script returned exit code 1
- Build:docker (17 sec)
- Helm (6.4 sec)
- Build:Helm (3.2 sec)
- docker (9 ms)
Loading