-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fix centos toolbox container base image #146
Comments
phlogistonjohn
changed the title
Fix centos toolbox contaien base image
Fix centos toolbox container base image
Jul 17, 2023
phlogistonjohn
added a commit
to phlogistonjohn/samba-container
that referenced
this issue
Jul 18, 2023
Use the newer Fully-Qualified-Image-Name tagging scheme in the github ci actions yaml. This makes the naming of each image better match the core build parameters (kind, package source, distro base (aka OS), and arch). The major build and test targets all get an IMG_TAG env var to help organize and make the rest of the yaml structure consistent. One workaround we need to apply is to the toolbox builds as the FROM line in the dockerfiles don't match FQINs nor do they match the old scheme consistently (see samba-in-kubernetes#146). So we just do a little hack in that section alone to get things working correctly. Signed-off-by: John Mulligan <[email protected]>
mergify bot
pushed a commit
that referenced
this issue
Jul 19, 2023
Use the newer Fully-Qualified-Image-Name tagging scheme in the github ci actions yaml. This makes the naming of each image better match the core build parameters (kind, package source, distro base (aka OS), and arch). The major build and test targets all get an IMG_TAG env var to help organize and make the rest of the yaml structure consistent. One workaround we need to apply is to the toolbox builds as the FROM line in the dockerfiles don't match FQINs nor do they match the old scheme consistently (see #146). So we just do a little hack in that section alone to get things working correctly. Signed-off-by: John Mulligan <[email protected]>
@phlogistonjohn might a multi-stage build containerfile help with this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In PR #135 I added a comment to images/toolbox/Containerfile.centos:
Because the "centos-latest" tag is not universally available. It only ever exists locally on a system that first builds the centos client image. Thus the
quay.io/samba.org/
part is a bit of a fib. This issue exists to discuss and do something about thisI don't know all I know is this will break in some circumstances. But I didn't want this PR to become sidetracked by that issue so I didn't try to fix it, just left a breadcrumb to follow up on later.
I think layering the images is fine, but there are some downsides to it. Let's discuss this more in a new issue or meeting, etc. :-)
Originally posted by @phlogistonjohn in #135 (comment)
The text was updated successfully, but these errors were encountered: