Add ubuntu-oci project for building OCI-ready tarballs with livecd-rootfs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Undecided
|
Thomas Bechtold | ||
Bionic |
Fix Released
|
Undecided
|
Thomas Bechtold | ||
Focal |
Fix Released
|
Undecided
|
Thomas Bechtold | ||
Groovy |
Fix Released
|
Undecided
|
Thomas Bechtold | ||
Hirsute |
Fix Released
|
Undecided
|
Thomas Bechtold |
Bug Description
[Impact]
Currently the ubuntu-base livecd-rootfs project is used to build tarballs that are the base for building docker/OCI images.
The tarballs produced with the ubuntu-base project are modified externally (see https:/
When including the ubuntu-oci project into livecd-rootfs, we can build tarballs that already contain the changes that are currently done externally. This has multiple advantages:
1) a Dockerfile using that tarball would no longer have to modify anything (means less layers)
2) publishing new OCI images no longer depends on the external dockerhub image creation. Currently eg. the AWS ECR ubuntu containers depend on the containers from dockerhub. That would be no longer the case with this change
3) Possible faster reaction on CVEs. no longer depending on external processes.
[Test Plan]
1) build ubuntu-oci project
a) Build a test ubuntu-oci tarball with ubuntu-
./scripts/
b) create a Dockerfile using the tarball created in step 1):
cat << EOF > Dockerfile
FROM scratch
ADD ubuntu-
CMD ["/bin/bash"]
EOF
c) build the container
docker build .
d) run something in the container:
docker run -it $container-id uname -a
e) check the size of the docker image and compare with the image for the same series available on dockerhub
2) build another project (ubuntu-base minimized)
a) Build a test ubuntu-base minimized project with ubuntu-
[Where problems could occur]
This change could break other livecd-rootfs projects which might lead to failed builds. But beside that, there is nothing I can think of that would be affected by this change.
[Other Info]
When this is accepted, there will be livefs builds available at https:/
Related branches
- Ubuntu Core Development Team: Pending requested
-
Diff: 130 lines (+73/-2)4 files modifieddebian/changelog (+8/-0)
live-build/auto/build (+3/-0)
live-build/auto/config (+6/-2)
live-build/functions (+56/-0)
- Ubuntu Core Development Team: Pending requested
-
Diff: 158 lines (+77/-5)4 files modifieddebian/changelog (+8/-0)
live-build/auto/build (+5/-1)
live-build/auto/config (+7/-3)
live-build/functions (+57/-1)
- Ubuntu Core Development Team: Pending requested
-
Diff: 158 lines (+77/-5)4 files modifieddebian/changelog (+8/-0)
live-build/auto/build (+5/-1)
live-build/auto/config (+7/-3)
live-build/functions (+57/-1)
- Ubuntu Core Development Team: Pending requested
-
Diff: 159 lines (+78/-5)4 files modifieddebian/changelog (+9/-0)
live-build/auto/build (+5/-1)
live-build/auto/config (+7/-3)
live-build/functions (+57/-1)
Changed in livecd-rootfs (Ubuntu Hirsute): | |
status: | New → In Progress |
assignee: | nobody → Thomas Bechtold (toabctl) |
Changed in livecd-rootfs (Ubuntu Groovy): | |
status: | New → In Progress |
assignee: | nobody → Thomas Bechtold (toabctl) |
Changed in livecd-rootfs (Ubuntu Focal): | |
status: | New → In Progress |
Changed in livecd-rootfs (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in livecd-rootfs (Ubuntu Focal): | |
assignee: | nobody → Thomas Bechtold (toabctl) |
Changed in livecd-rootfs (Ubuntu Bionic): | |
assignee: | nobody → Thomas Bechtold (toabctl) |
description: | updated |
Changed in livecd-rootfs (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in livecd-rootfs (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
Changed in livecd-rootfs (Ubuntu Groovy): | |
status: | In Progress → Fix Committed |
Changed in livecd-rootfs (Ubuntu Hirsute): | |
status: | In Progress → Fix Committed |
Changed in livecd-rootfs (Ubuntu): | |
status: | New → In Progress |
Changed in livecd-rootfs (Ubuntu): | |
status: | In Progress → Fix Released |
description: | updated |
description: | updated |
Hello Thomas, or anyone else affected,
Accepted livecd-rootfs into hirsute-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ livecd- rootfs/ 2.719.1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification- needed- hirsute to verification- done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- hirsute. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.