We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
It seems that the client can't be successfully built on arm64
Sending build context to Docker daemon 1.214MB Step 1/16 : FROM node:12.16.2-alpine AS build ---> 88c5c4733931 Step 2/16 : WORKDIR /app ---> Using cache ---> bd689303d0cf Step 3/16 : COPY package.json . ---> Using cache ---> df87d9a247b5 Step 4/16 : COPY yarn.lock . ---> Using cache ---> d46ec77a6f33 Step 5/16 : RUN yarn ---> Running in 0114717313b1 yarn install v1.22.4 [1/4] Resolving packages... warning Resolution field "[email protected]" is incompatible with requested version "acorn@^5.5.3" [2/4] Fetching packages... info [email protected]: The platform "linux" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. info [email protected]: The platform "linux" is incompatible with this module. info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation. [3/4] Linking dependencies... warning " > @octarine/[email protected]" has incorrect peer dependency "[email protected]". warning " > @octarine/[email protected]" has incorrect peer dependency "[email protected]". warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0". warning " > [email protected]" has unmet peer dependency "history@^2.0.0 || ^3.0.0". warning " > [email protected]" has incorrect peer dependency "react@^0.14.0 || ^15.0.0". warning " > [email protected]" has incorrect peer dependency "react-dom@^0.14.0 || ^15.0.0". warning "razzle-plugin-scss > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0". [4/4] Building fresh packages... info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. error /app/node_modules/node-sass: Command failed. Exit code: 1 Command: node scripts/build.js Arguments: Directory: /app/node_modules/node-sass Output: Building: /usr/local/bin/node /app/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library= gyp info it worked if it ends with ok gyp verb cli [ gyp verb cli '/usr/local/bin/node', gyp verb cli '/app/node_modules/node-gyp/bin/node-gyp.js', gyp verb cli 'rebuild', gyp verb cli '--verbose', gyp verb cli '--libsass_ext=', gyp verb cli '--libsass_cflags=', gyp verb cli '--libsass_ldflags=', gyp verb cli '--libsass_library=' gyp verb cli ] gyp info using [email protected] gyp info using [email protected] | linux | arm64 gyp verb command rebuild [] gyp verb command clean [] gyp verb clean removing "build" directory gyp verb command configure [] gyp verb check python checking for Python executable "python2" in the PATH gyp verb `which` failed Error: not found: python2 gyp verb `which` failed at getNotFoundError (/app/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/app/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/app/node_modules/which/which.js:80:29) gyp verb `which` failed at /app/node_modules/which/which.js:89:16 gyp verb `which` failed at /app/node_modules/isexe/index.js:42:5 gyp verb `which` failed at /app/node_modules/isexe/mode.js:8:5 gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:167:21) gyp verb `which` failed python2 Error: not found: python2 gyp verb `which` failed at getNotFoundError (/app/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/app/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/app/node_modules/which/which.js:80:29) gyp verb `which` failed at /app/node_modules/which/which.js:89:16 gyp verb `which` failed at /app/node_modules/isexe/index.js:42:5 gyp verb `which` failed at /app/node_modules/isexe/mode.js:8:5 gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:167:21) { gyp verb `which` failed stack: 'Error: not found: python2\n' + gyp verb `which` failed ' at getNotFoundError (/app/node_modules/which/which.js:13:12)\n' + gyp verb `which` failed ' at F (/app/node_modules/which/which.js:68:19)\n' + gyp verb `which` failed ' at E (/app/node_modules/which/which.js:80:29)\n' + gyp verb `which` failed ' at /app/node_modules/which/which.js:89:16\n' + gyp verb `which` failed ' at /app/node_modules/isexe/index.js:42:5\n' + gyp verb `which` failed ' at /app/node_modules/isexe/mode.js:8:5\n' + gyp verb `which` failed ' at FSReqCallback.oncomplete (fs.js:167:21)', gyp verb `which` failed code: 'ENOENT' gyp verb `which` failed } gyp verb check python checking for Python executable "python" in the PATH gyp verb `which` failed Error: not found: python gyp verb `which` failed at getNotFoundError (/app/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/app/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/app/node_modules/which/which.js:80:29) gyp verb `which` failed at /app/node_modules/which/which.js:89:16 gyp verb `which` failed at /app/node_modules/isexe/index.js:42:5 gyp verb `which` failed at /app/node_modules/isexe/mode.js:8:5 gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:167:21) gyp verb `which` failed python Error: not found: python gyp verb `which` failed at getNotFoundError (/app/node_modules/which/which.js:13:12) gyp verb `which` failed at F (/app/node_modules/which/which.js:68:19) gyp verb `which` failed at E (/app/node_modules/which/which.js:80:29) gyp verb `which` failed at /app/node_modules/which/which.js:89:16 gyp verb `which` failed at /app/node_modules/isexe/index.js:42:5 gyp verb `which` failed at /app/node_modules/isexe/mode.js:8:5 gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:167:21) { gyp verb `which` failed stack: 'Error: not found: python\n' + gyp verb `which` failed ' at getNotFoundError (/app/node_modules/which/which.js:13:12)\n' + gyp verb `which` failed ' at F (/app/node_modules/which/which.js:68:19)\n' + gyp verb `which` failed ' at E (/app/node_modules/which/which.js:80:29)\n' + gyp verb `which` failed ' at /app/node_modules/which/which.js:89:16\n' + gyp verb `which` failed ' at /app/node_modules/isexe/index.js:42:5\n' + gyp verb `which` failed ' at /app/node_modules/isexe/mode.js:8:5\n' + gyp verb `which` failed ' at FSReqCallback.oncomplete (fs.js:167:21)', gyp verb `which` failed code: 'ENOENT' gyp verb `which` failed } gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (/app/node_modules/node-gyp/lib/configure.js:484:19) gyp ERR! stack at PythonFinder.<anonymous> (/app/node_modules/node-gyp/lib/configure.js:406:16) gyp ERR! stack at F (/app/node_modules/which/which.js:68:16) gyp ERR! stack at E (/app/node_modules/which/which.js:80:29) gyp ERR! stack at /app/node_modules/which/which.js:89:16 gyp ERR! stack at /app/node_modules/isexe/index.js:42:5 gyp ERR! stack at /app/node_modules/isexe/mode.js:8:5 gyp ERR! stack at FSReqCallback.oncomplete (fs.js:167:21) gyp ERR! System Linux 5.3.0-1032-aws 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=" gyp ERR! cwd /app/node_modules/node-sass gyp ERR! node -v v12.16.2 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 The command '/bin/sh -c yarn' returned a non-zero code: 1
Any advice?
The text was updated successfully, but these errors were encountered:
This is related to the project using alpine images. I was able to get the client image to successfully build after moving away from alpine. See this change I made: https://github.com/slapula/kube-scan/blob/53596f260b0aee142d1c340e8313572d92865d40/client/Dockerfile
I haven't actually tested the server/client images yet on my cluster so I'll report back once that's done.
Sorry, something went wrong.
No branches or pull requests
Hi,
It seems that the client can't be successfully built on arm64
Any advice?
The text was updated successfully, but these errors were encountered: