-
Notifications
You must be signed in to change notification settings - Fork 219
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
First attempt at a CentOS-7 toolbox container. #286
Conversation
Signed-off-by: Paul Kronenwetter <kronenpj@gmail.com>
+1 |
images/centos/7/Dockerfile
Outdated
FROM docker.io/library/centos:7 | ||
|
||
ENV NAME=centos-toolbox VERSION=7 | ||
LABEL com.github.debarshiray.toolbox="true" \ |
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.
Maybe update this based on de5e5df while waiting for further review
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.
Yes, many of the comments in #298 for the Ubuntu image also apply to this.
Is it possible to test it soon? |
I think in the end we should try to support the default pre-existing base images and not require a special "toolbox image". Basically, have all of the logic inside our binary and not a derived image. That said, there are some complications around this, like |
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 working on this!
I wonder if we should attempt CentOS 8 first. For the simple reason that it's new, and hence a lot more flexible compared to CentOS 7. No strong opinion, though.
images/centos/7/Dockerfile
Outdated
FROM docker.io/library/centos:7 | ||
|
||
ENV NAME=centos-toolbox VERSION=7 | ||
LABEL com.github.debarshiray.toolbox="true" \ |
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.
Yes, many of the comments in #298 for the Ubuntu image also apply to this.
Currently the Toolbox images don't really have any logic. They are just a means of altering the package set of the base images. We could do all the package management dance on the clients running But yeah, the prospect of just being able to work with the base images is tempting. |
👍 |
Any updates here? |
Build succeeded.
|
Arguably there's a strong case for needing both RHEL/CentOS 7 and 8 (any currently supported version). Surely they are two related tasks rather than waiting on 8 blocking 7 if that's closer to being ready? |
Closing. See #275 |
Signed-off-by: Paul Kronenwetter kronenpj@gmail.com
Usage once it's available:
It's a bit bloated now because of the
yum update
but when CentOS releases the 7.7 container it should be better and theyum update
could be removed. I needed to perform the update before re-adding the documentation would work withyum reinstall
.