-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Unify in_podman container packaging & VM packaging #5853
Unify in_podman container packaging & VM packaging #5853
Conversation
0df19cf
to
8f6954f
Compare
☔ The latest upstream changes (presumably #5852) made this pull request unmergeable. Please resolve the merge conflicts. |
8f6954f
to
ea25a04
Compare
2426812
to
f3490ba
Compare
59959c0
to
86851c7
Compare
_finalize | ||
} | ||
|
||
ubuntu_finalize() { | ||
set +e # Don't fail at the very end | ||
echo "Resetting to fresh-state for usage as cloud-image." | ||
$LILTO $SUDOAPTGET autoremove | ||
sudo rm -rf /var/cache/apt | ||
$SUDO rm -rf /var/cache/apt |
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.
$SUDO rm -rf /var/cache/apt | |
$SUDO rm -r /var/cache/apt |
If you expect the cache to really be empty drop the -f.
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.
Not sure I follow the suggestion. This is another VM Image build-time thing where it's probably okay to ignore a 'does not exist' error. Am I missing something?
86851c7
to
362fc3c
Compare
9c1cd7c
to
7eadab9
Compare
3fb75b6
to
953508c
Compare
Also, test-build critical container images depended upon for CI-purposes. Signed-off-by: Chris Evich <[email protected]>
Signed-off-by: Chris Evich <[email protected]>
953508c
to
62accbc
Compare
@baude do you mind taking a quick peek at the not-required but running tests, just to verify they appear to be operating as expected? In other words, I'm not sure what tests are expected to fail and pass or error. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cevich, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
It would be nice to rename all the "Dockerfile." files to "Containerfile." if possible. |
/lgtm |
@TomSweeneyRedHat I agree, but also/first we need to convince all the docker-centric build services (like quay.io) to recognize it too :S (I'm assuming it doesn't, maybe I'm wrong?) |
@cevich, that's the caveat. Many (all?) of the docker-centric build services don't recognize a Containerfile, I know for a fact that quay.io does not, but I hope to at least change that. So if there's some reliance on the file being named "Dockerfile" so it can be found by some system expecting that name, then I'd leave it as is. I'm guessing, however, that the Dockerfile.{extension} files can be changed to "Containerfile.{extension}" as they are not likely used by a build system. |
Depends on optional: #5737
Significant changes in this PR:
in_podman
container image (Dockerfile + Dockerfile.ubuntu).Note: Both the VM Images and in_podman container image are utilized outside of the libpod repository. For example,