pact-foundation / pact-stub-server

Standalone pact stub server
MIT License
75 stars 19 forks source link

version `GLIBC_2.32' not found #39

Closed frastel closed 2 years ago

frastel commented 3 years ago

I am trying to load the pact-stub-server as docker image. However it does not work on both my Mac or on a Vagrant box.

System:

Command

docker run -ti -v "$(pwd)/artifacts/pacts/:/app/pact" pactfoundation/pact-stub-server -p 8080 -d pacts

exits with

./pact-stub-server: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./pact-stub-server)
uglyog commented 3 years ago

Are you using an Alpine-based docker image?

uglyog commented 3 years ago

Oh, no, you're using the pact foundation one. Let let look at what has changed there.

frastel commented 3 years ago

Yes exactly. I decided to place the issue here because I think there is no other available binary which could be used within the mentioned docker image: https://github.com/pact-foundation/pact-stub-server/blob/master/Dockerfile#L5

uglyog commented 3 years ago

I should prob merged these two repositories

frastel commented 3 years ago

... or provide the service within pactfoundation/pact-cli as it was already done with the pact-mock-service: https://github.com/pact-foundation/pact-mock-service-docker.

uglyog commented 3 years ago

I've updated the release process to also create OSX and Windows binaries. You should be able to use the OSX one while I fix the docker image.

uglyog commented 3 years ago

I've re-created the docker image for v0.4.4. Can you try it again?

rholshausen commented 2 years ago

Latest version (0.5.2) supports glibc 2.18+