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.

Docker installation failed

See original GitHub issue

Since yesterday docker build is failing with this error ERROR: unsatisfiable constraints: pc:fftw3 (missing): required by: vips-dev-8.7.0-r0[pc:fftw3] vips-dev-8.7.0-r0[pc:fftw3] vips-dev-8.7.0-r0[pc:fftw3] it’s been working for a couple of months but for some reason it started failing since yesterday

i’m using node:8-alpine

RUN apk add --update --no-cache
–repository http://dl-3.alpinelinux.org/alpine/edge/testing
vips-dev fftw-dev gcc g++ make libc6-compat

also tried apk add vips-dev fftw-dev build-base --update-cache --repository https://dl-3.alpinelinux.org/alpine/edge/testing/

from the installation manual but i get the same error

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
kevinkaspercommented, Oct 23, 2018

Getting the same error here. By adding the main repository, the installation will work.

RUN apk add vips-dev fftw-dev build-base --update-cache --repository https://dl-3.alpinelinux.org/alpine/edge/main/ --repository --repository https://dl-3.alpinelinux.org/alpine/edge/testing/

If sharp will be loaded in node (require('sharp')), the following error is occuring:

Error: Error relocating /usr/lib/libexpat.so.1: getrandom: symbol not found
    at Object.Module._extensions..node (module.js:681:18)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)

I temporary solve the problem by using the precompiled libvips library provieded by the sharp package.

1reaction
lovellcommented, Oct 23, 2018

Hello, please see https://github.com/libvips/libvips/issues/1142 - the summary is that packages from the edge/testing repo are only guaranteed to work on Alpine Edge.

Pre-compiled binaries are provided for Alpine v3.8+ from sharp v0.21.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Desktop installation failed - Stack Overflow
I was able to install by deleting file "Docker" on C:/ProgramData/ ... I ran into an error there that resulted in the exact...
Read more >
Unable to install Docker Desktop 4.8.2: Component ...
Getting the following error when installing Docker with WSL. Component CommunityInstaller.EnableFeaturesAction failed: Not found at ...
Read more >
Docker Installation error · Issue #12511 · docker/for-win - GitHub
I tried to install it both ways admin and without it. I am installing it fresh no previous version is there also once...
Read more >
How To Install Docker Desktop And Troubleshoot Issues In ...
Step 1 – Run Docker Services · Step 2- Enable Hyper-V and Containers · Step 3- Verify Virtualization is enabled from Task Manager....
Read more >
How do I safely re-install a corrupt Docker-desktop installation ...
Docker failed to initialize: Docker Desktop is shutting down. The most recurring solution from googling is to delete: ....\AppData\Roaming\ ...
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