Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s390x docker builds with node:slim fails #1050

Open
SebLL opened this issue Jun 25, 2019 · 0 comments
Open

s390x docker builds with node:slim fails #1050

SebLL opened this issue Jun 25, 2019 · 0 comments

Comments

@SebLL
Copy link

SebLL commented Jun 25, 2019

Hello,
I got the following error when trying to build an image using node:slim on s390x architecture.
Any idea ?
Note: I have been told that the problem is
The problem was two-fold:
libseccomp-2.4.4 is required as it as support for the statx() call
docker needs to be rebuilt with an updated seccomp.json file that contains the statx info

ERROR MESSAGE here under

  • npm install --production
    fs.js:126
    throw err;
    ^

Error: ENOENT: no such file or directory, open '/usr/local/lib/utils/unsupported.js'
at Object.openSync (fs.js:447:3)
at Object.readFileSync (fs.js:349:35)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:784:22)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:681:19)
at require (internal/modules/cjs/helpers.js:16:16)
at /usr/local/bin/npm:19:21
at Object. (/usr/local/bin/npm:152:3)
at Module._compile (internal/modules/cjs/loader.js:774:30) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/usr/local/lib/utils/unsupported.js'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@SebLL and others