First attempt at a CentOS-7 toolbox container.#286
First attempt at a CentOS-7 toolbox container.#286kronenpj wants to merge 4 commits intocontainers:mainfrom
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" \ |
|
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 |
debarshiray
left a comment
There was a problem hiding this comment.
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.
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:
toolbox create --image centos-toolbox:7 tboxname toolbox enter tboxname {Do cool toolbox stuff here.}It's a bit bloated now because of the
yum updatebut when CentOS releases the 7.7 container it should be better and theyum updatecould be removed. I needed to perform the update before re-adding the documentation would work withyum reinstall.