-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Containerized binary #210
Comments
Same here with a debian:jessie docker container. |
Some debug information:
|
Found a fix, apparently you need to set USER to something: |
That works, well spotted! |
Should probably fix Flow and Hack to work without USER being set. Thanks for posting the workaround, @mjibson! |
Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed. |
Just tried to repro this and it seems fixed. Closing out. |
This still happens for me in a Docker container using the flow-bin npm package. The command is "flow check". /opt/buildAgent/work/3c70a0ec877e6008/node_modules/flow-bin/vendor/flow: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory |
@touchtech-docker-machine it was the same for me. To solve it I installed libelf1 on debian jessie with
It's strange that there is no check and warning message during the npm install of flow-bin... |
If your image is from |
@ababich's Fix worked wonderfully for me. |
Installing libelf1 in the container worked for me up to v0.37.4 but doesn't work anymore on v0.38.0. |
This worked for me, v0.39, debian jessie based container |
Seems to work again. |
still having this issue on circleCI 2 :( |
@Dakuan I was having this issue on CircleCI 2 as well after updating to flow-bin@0.46.0 and rerunning
which I fixed by updating my
#3870 has some more details. Hope that helps! |
I would like to run flow in a Docker container. However:
I've also tried installing through opam and compiling flow from source, always with the same result.
Install works fine on a standard Ubuntu box.
Ideas?
The text was updated successfully, but these errors were encountered: