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

Fix Docker ARM Issues for Snapshot Images #2081

Merged
merged 2 commits into from
Sep 4, 2023

Conversation

J12934
Copy link
Member

@J12934 J12934 commented Sep 4, 2023

Description

Resolved Startup Issue on ARM Devices (e.g. RaspberryPi, Apple Silicon MacOS)

info: All dependencies in ./package.json are satisfied (OK)
node:internal/modules/cjs/loader:1338
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /juice-shop/node_modules/libxmljs2/build/Release/xmljs.node)
    at Module._extensions..node (node:internal/modules/cjs/loader:1338:18)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Module.require (node:internal/modules/cjs/loader:1141:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at bindings (/juice-shop/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/juice-shop/node_modules/libxmljs2/lib/bindings.js:1:37)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at Module.require (node:internal/modules/cjs/loader:1141:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object.<anonymous> (/juice-shop/node_modules/libxmljs2/index.js:4:18)
    at Module._compile (node:internal/modules/cjs/loader:1254:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) {
  code: 'ERR_DLOPEN_FAILED'
}

Affirmation

@J12934 J12934 self-assigned this Sep 4, 2023
@cypress
Copy link

cypress bot commented Sep 4, 2023

Passing run #318 ↗︎

0 109 8 0 Flakiness 0

Details:

Merge 9ffe8d3 into 1c0c2dd...
Project: OWASP Juice Shop Commit: 00109b42c4 ℹ️
Status: Passed Duration: 42:42 💡
Started: Sep 4, 2023 10:02 PM Ended: Sep 4, 2023 10:44 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@cypress
Copy link

cypress bot commented Sep 4, 2023

Passing run #316 ↗︎

0 218 16 0 Flakiness 0

Details:

Add a custom build / compile step for libxmljs
Project: OWASP Juice Shop Commit: 9ffe8d332e
Status: Passed Duration: 59:14 💡
Started: Sep 4, 2023 7:01 PM Ended: Sep 4, 2023 8:01 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@bkimminich bkimminich merged commit 26086d3 into develop Sep 4, 2023
50 of 56 checks passed
@J12934 J12934 deleted the maintanace/docker-arm-build-fixes branch January 13, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants