question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image build fails

See original GitHub issue
  Step 5/8 : RUN apk add --no-cache ca-certificates     --repository http://dl-3.alpinelinux.org/alpine/edge/community/     jq curl bash nodejs aws-cli &&     curl -L ${BASE_URL}/${HELM_2_FILE} |tar xvz &&     mv linux-amd64/helm /usr/bin/helm &&     chmod +x /usr/bin/helm &&     rm -rf linux-amd64 &&     curl -L ${BASE_URL}/${HELM_3_FILE} |tar xvz &&     mv linux-amd64/helm /usr/bin/helm3 &&     chmod +x /usr/bin/helm3 &&     rm -rf linux-amd64 &&     helm init --client-only
   ---> Running in faf0e342fb70
  fetch http://dl-3.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
  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
  ERROR: unsatisfiable constraints:
    so:libimagequant.so.0 (missing):
      required by: py3-pillow-9.0.0-r0[so:libimagequant.so.0]
  The command '/bin/sh -c apk add --no-cache ca-certificates     --repository http://dl-3.alpinelinux.org/alpine/edge/community/     jq curl bash nodejs aws-cli &&     curl -L ${BASE_URL}/${HELM_2_FILE} |tar xvz &&     mv linux-amd64/helm /usr/bin/helm &&     chmod +x /usr/bin/helm &&     rm -rf linux-amd64 &&     curl -L ${BASE_URL}/${HELM_3_FILE} |tar xvz &&     mv linux-amd64/helm /usr/bin/helm3 &&     chmod +x /usr/bin/helm3 &&     rm -rf linux-amd64 &&     helm init --client-only' returned a non-zero code: 6
Error: Docker build failed with exit code 6

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:43
  • Comments:6

github_iconTop GitHub Comments

17reactions
gbalduzzicommented, Feb 14, 2022

My deploy also fails because of this.

Thanks @glopezep for the temporary fix!

Is there any major reason why the PR has not been merged yet?

13reactions
GerardSmitcommented, Jan 27, 2022

Until it’s merged, you can use @glopezep their fork.

Replace the following in your GitHub Action .yml-file:

uses: deliverybot/helm@v1

with

uses: glopezep/helm@v1.7.1

Thanks for the fix @glopezep 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker : image build failed - Stack Overflow
Paths in a Dockerfile are always relative to the the context directory. The context directory is the positional argument passed to docker ...
Read more >
How to debug Docker build failures - /admcpr
I can run that image and connect to an interactive shell using the following command and debug away. docker run -it 14119a10abf4 sh....
Read more >
Docker image build failed - GitLab Forum
CI says that it cannot find the jar file during docker build. Does the CI user have read access to the file? Not...
Read more >
Unable to build my docker image
I have a created a project as well as dockerfiles inside it. I'm trying to run it from docker but I keep getting...
Read more >
Docker image build fails on Azure Pipeline.
We have a build step that builds a docker image for windows. This was working without any issues until last week. No code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found