Commit Graph

9 Commits

Author SHA1 Message Date
Clement Verna
99961988be 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:36:11 +01:00
Clement Verna
21d7a8d661 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:29:03 +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