bowlofeggs reported a new issue against the project: `atomic-wg` that you are following: `` I had a weird bug today where my Dockerfile in my master branch had a FROM line that specified Fedora 26, which caused the container to be built into Fedora 26 tags instead of Rawhide. It was obviously my mistake, but it occurred to me that it might be nice if the build system used my branch to determine which FROM line to use if my Dockerfile doesn't define one, so that it works a little more similarly to RPMs when I do a fedpkg container-build. Since some containers don't base off the base image, it would be important that this only happen when FROM is missing, but it could be nice for containers that do want the base image.
Another idea: If the from line doesn't contain a tag (after a :, like ```:f26```), the tag could be appended. This might work for containers that don't use the base image? ``
To reply, visit the link below or just reply to this email https://pagure.io/atomic-wg/issue/293
dustymabe added a new comment to an issue you are following: `` another solution would be to have the build system require that the FROM line be correct (i.e. matching the current branch) before it built content. ``
To reply, visit the link below or just reply to this email https://pagure.io/atomic-wg/issue/293
dustymabe added a new comment to an issue you are following: `` Doing this would maintain compatibility with people doing `docker build` on their local machine and testing things out. ``
To reply, visit the link below or just reply to this email https://pagure.io/atomic-wg/issue/293
bowlofeggs added a new comment to an issue you are following: ``
Doing this would maintain compatibility with people doing docker build on their local machine and testing things out.
Good point. ``
To reply, visit the link below or just reply to this email https://pagure.io/atomic-wg/issue/293