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
/bin/sh: ./opa: not found in Docker when upgrading to v0.29.4 #3532
Comments
@ZachMayry thanks for filing this... Can you try the same except curl for the static executable: Some recent changes related to wasm support in OPA necessitate libc and libgcc dependencies (which aren't available in alpine). You probably don't care about wasm support for now so just use the static executable. Assuming this fixes it, I'll send out a post on Slack and update the release notes to be more obvious about this. Sorry for the inconvenience! |
That works! |
Yes, the static version will be supported (and it won't magically become dynamic at some point like the other linux executable did 😅 ) |
What do you mean by "dynamic"? |
It won't gain any dynamic library dependencies. The |
Closing because this is a dupe of #3499 |
Expected Behavior
OPA server runs
Actual Behavior
/bin/sh: ./opa: not found
Steps to Reproduce the Problem
dockerfile
curl -L -o opa https://www.openpolicyagent.org/downloads/latest/opa_linux_amd64/; chmod +x ./opa
Dockerfile
docker build .
OPA Environment
OPA Version: 0.28.0 - works just fine
OPA Version: 0.29.4 - does not run
Exact Error message
Additional Info
0.29.4 works just fine on a Mac, just not on Linux via docker. Could be related to the image we are using but that is our standard image as all of our services run on node. We use yarn workspaces to standardize how we run our services.
The text was updated successfully, but these errors were encountered: