Commit Graph

11 Commits

Author SHA1 Message Date
Kevin Fenzi
b3e9d978c7 Revert "Use the fedora-release-container package to get the release version"
This reverts commit ab0f96678e.

Fedora 28 does not have a fedora-release-container, so this makes it fail.
2019-03-26 11:58:15 -07:00
Clement Verna
ab0f96678e Use the fedora-release-container package to get the release version
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-02-05 16:02:01 +01:00
Clement Verna
d8c1268e61 Use coreutils instead of coreutils-single in containers.
Fixes https://github.com/fedora-cloud/docker-brew-fedora/issues/58

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-11-02 19:38:08 +01:00
Clement Verna
a600dd769e Containers do not need grubby.
Make sure that we do not install grubby on the
container base image.
https://pagure.io/releng/issue/7872

Signed-off-by: Clement Verna <cverna@tutanota.com>
2018-10-30 20:30:55 +01:00
Adam Williamson
27d1b07813 Don't exclude libusbx from container images, libdnf needs it
This exclusion has never actually worked. Look at a successful
F27 container-minimal build:

https://koji.fedoraproject.org/koji/taskinfo?taskID=25064051

If you check one of the tasks and look at the oz log, it shows
that libusbx is actually installed.

This is because both dnf and microdnf require libdnf, which
requires librepo, which requires gpgme, which requires gnupg2,
which requires libusb.

In Fedora 27, anaconda/dnf handle this by ignoring the attempt
to exclude libusbx and just installing it anyway.

In Rawhide, however, anaconda/dnf behaviour is different. I
don't know when it changed, but now anaconda/dnf honor the
kickstart and exclude libusbx from the install transaction...
which means the image build just fails, because the deps for
dnf/microdnf cannot be satisfied. So we should just ditch the
exclusion, it's bogus. See a failed Rawhide build attempt:

https://koji.fedoraproject.org/koji/taskinfo?taskID=25077542

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-02-15 17:56:44 -08:00
James Antill
cd0ff18d97 Merge changes from fedora-modular-container-common.ks to the non-modular
fedora-docker-common.ks.

 Post kickstart image rpm changes:

-coreutils
-coreutils-common
+coreutils-single
-glibc-langpack-en
+glibc-minimal-langpack
-langpacks-en
-libcrypt-nss
+libcrypt
-libsecret
-ncurses
-pinentry
-trousers
-trousers-lib
+xfsprogs

==== Modular DNF changes ====
+libyaml
+python3-dateutil
+python3-modulemd
+python3-PyYAML
+python3-smartcols

 Image size changes:
docker.io/fedora 27
 422dc563ca32 251.7 MB
fedora-modular-container-base-27_modular-20171202.n.1.x86_64 latest
 1efe3f167b78 218.7 MB
2018-01-24 22:11:31 -05:00
Ralph Bean
d702d27389 Fix links to this example TDL file.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-07 15:58:34 -04:00
Dusty Mabe
6bfa0c57b3
docker: add comment about partitioning for clarity 2017-05-19 13:00:30 -04:00
Peter Robinson
00e6c35287 cloud/docker: move to autopart with the new no home/swap/boot options to enable generic architecture images
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-05-15 17:30:43 +01:00
Peter Robinson
a6da97b44e Reduce some packages that aren't of much use in the containers
Filesytem tools, TPM tools, libusb and friends aren't of much use in
a docker container so remove them.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-24 18:19:28 +00:00
Peter Robinson
eae48ec488 Add a docker common kickstart as a central bit for shared config.
There's a lot of similarities between base and base-minimal so
introduce a docker-common.ks to ensure as much as possible is shared
between the two ensure as much shared as possible.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-23 17:40:57 +00:00