-
Notifications
You must be signed in to change notification settings - Fork 57
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
Extract common operations to reusable scripts in base images #716
Conversation
f80b49a
to
1f3613e
Compare
5bb7666
to
0e80052
Compare
Provide a buildx config for GHA Unify test sleep behavior of Workbench images
Fix hadolint issues
1b85bf7
to
16b6328
Compare
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.
Aside from that minor script nit, LGTM!
*) | ||
# Allow clean, update to be used as commands | ||
if [ "$UPDATE" -eq 1 ] || [ "$CLEAN" -eq 1 ]; then | ||
exit 0 |
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.
Consider sharing logic with yum script? Lots of similarities in these two scripts. Just a suggestion, not a hard blocker.
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.
So much neater !
Closes #616
This change implements scripts we currently use for building Marketplaces images using Packer. By including these common scripts we can reduce the complexity of individual Dockerfiles in future changes, easily modify or extend downstream images, and increase our code sharing for common operations.
Adds
install_python.sh
install_r.sh
install_quarto.sh
install_drivers.sh
apt.sh
oryum.sh
for package management Ubuntu and RHEL respectivelyChanges
product/base
andproduct/pro
images to use shared scripts for installing dependencies.deps/
for both base image directories.