-
Notifications
You must be signed in to change notification settings - Fork 102
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
Update docker images to Ubuntu 22.04 #644
Conversation
add prebuilt packages to repo, fix related issues with CMake
revert renaming of libgit2 and recombine apt installs, remove ugly LLVM version setting, add LLVM_DIR to env variables instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the MR! Only some minor remarks left.
docker/dev/install_odb.sh
Outdated
esac | ||
bpkg install --all --recursive | ||
# Copy to /usr | ||
cp -rn /odb_install/* /usr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conventionally the /usr
folder is for files installed through the package manager. Locally compiled programs should go to /usr/local
.
Therefore, simply /usr/local
should be given as the install path and no copying is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have discussed on the weekly meeting, that this could also be a valid approach. However, I have further doubts, as the install folder could also contain symlinks. If those are not relative, but absolute, copying them would result in invalid links. Therefore installing directly into /usr/local/
would still be preferred.
The DEB files should be removed from the PR. Apart from that, and the issues mentioned above, it looks good and ready to merge 🚀 |
All 3 docker images were updated to Ubuntu 22.04. Thrift and ODB were manually built inside the dev container and then packaged because their official Ubuntu repository versions don't work with the codebase. (Thrift can be installed from the repo once it's updated to 0.16 #630)
Looking for feedback and suggestions on how to handle the relatively big pre-built packages. Also more extensive testing.
Closes #632