Skip to content

can't build docker container with Dockerfile #988

@coutouly

Description

@coutouly

Expected Behavior

build a container Docker

Current Behavior

build error
npm ERR! make: *** [binding.target.mk:133: Release/obj.target/binding/src/binding.o] Error 1 npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: makefailed with exit code: 2 npm ERR! gyp ERR! stack at ChildProcess.onExit (/app/node_modules/node-gyp/lib/build.js:262:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Linux 3.10.0-1160.53.1.el7.x86_64 npm ERR! gyp ERR! command "/usr/local/bin/node" "/app/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" npm ERR! gyp ERR! cwd /app/node_modules/node-sass npm ERR! gyp ERR! node -v v17.6.0 npm ERR! gyp ERR! node-gyp -v v3.8.0 npm ERR! gyp ERR! not ok

Possible Solution

another dockerfile

Steps to Reproduce

1.git clone https://github.com/kuzzleio/kuzzle-admin-console
2.cd kuzzle-admin-console
3.docker build .

Context (Environment)

Kuzzle version:last
Node.js version:node -v v17.6.0
node-gyp -v v3.8.0

Admin Console version:last

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions