pact-foundation / pact-js

JS version of Pact. Pact is a contract testing framework for HTTP APIs and non-HTTP asynchronous messaging systems.
https://pact.io
Other
1.59k stars 343 forks source link

Unable to run Pact 10 in Alpine: gnu_get_libc_version: symbol not found #1026

Closed danymarques closed 1 year ago

danymarques commented 1 year ago

Software versions

Issue Checklist

Please confirm the following:

Expected behaviour

Pact tests should run

Actual behaviour

Pact tests don't run with the following log:

Test suite failed to run
    Error relocating /builds/test/node_modules/@pact-foundation/pact-core/build/Release/libpact_ffi.so: gnu_get_libc_version: symbol not found
      at Runtime._loadModule (../../node_modules/jest-runtime/build/index.js:1218:29)
      at bindings (../../node_modules/bindings/bindings.js:112:48)
      at Object.<anonymous> (../../node_modules/@pact-foundation/pact-core/src/ffi/index.ts:6:21)

Steps to reproduce

Run Pact tests an Alpine docker image.

mefellows commented 1 year ago

Hi @danymarques, Alpine is not a supported runtime (see the troubleshooting guide in this repo and docs.pact.io/docker for more).