Repository navigation
Add Dockerfile - #61
Closed
cooperlees wants to merge 10 commits into
Closed
cooperlees wants to merge 10 commits into
cooperlees wants to merge 10 commits into
Conversation
wez
reviewed
Aug 7, 2020
| # python3 "$GETDEPS" --allow-system-packages install-system-deps --recursive openr | ||
| python3 "$GETDEPS" --allow-system-packages build --no-tests --install-prefix "$INSTALL_PREFIX" openr | ||
| # TODO: Maybe fix src-dir to be absolute reference to dirname $0's parent | ||
| python3 "$GETDEPS" fixup-dyn-deps --strip --src-dir=. openr _artifacts/linux --project-install-prefix openr:"$INSTALL_PREFIX" --final-install-prefix "$INSTALL_PREFIX" |
Contributor
There was a problem hiding this comment.
This should populate _artifacts/linux with the bits that you would install to /opt/facebook.
For docker_openr_help_test.sh to run, I think you may "just" need to run build_openr.sh first, then:
LD_LIBRARY_PATH=_artifacts/linux/lib PATH=_artifacts/linux/sbin:$PATH openr_bin --help
cooperlees
force-pushed
the
docker_file
branch
2 times, most recently
from
August 13, 2020 17:30
5823eed to
f97b1e6
Compare
This was referenced Aug 13, 2020
- Use getdeps.py via build_openr.sh - Also install breeze into path - Cleanup all that we can to reduce size - Add docker instructions to README.md - Apply lints to README.md
- Update README.md - Add thrift to PATH for python build - Add -I to thrift compiler to look for fb303 default install location - Disable fb303 install for now for breeze as it does not work - Will fix in corresponding updates - Might even try to use cmake here somehow - Add a test script until I fix getting real /opt directories for the packages
cooperlees
force-pushed
the
docker_file
branch
from
August 13, 2020 20:54
f97b1e6 to
759ac75
Compare
facebook-github-bot
left a comment
Contributor
There was a problem hiding this comment.
@cooperlees has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Contributor
|
@cooperlees merged this pull request in 9684edd. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Title: Add a Dockerfile for OpenR
Description:
getdeps.pyto build OpenR and deps in an Ubuntu 20.04 containerbreeze is not working at the moment. Will follow up a diff/PR for that.
Test Plan:
docker exec -it HASH bashFixes #55 #47