Commit Graph

13 Commits

Author SHA1 Message Date
Randy Barlow
b4e313947d Revert "remove systemd package from fedora-container-base"
This reverts commit 57e13a1b89.

I noticed that systemd-logind was causing problems in our
containers after a container rebuild of the f32 base image was
published about 5 days ago. I found that an issue[0] had been
filed about the problem, but that bug was reported against
Rawhide (f33). I then found that systemd had been removed from
the f32 base image after f32 was released.

This causes problems for users who expect stability out of Fedora
releases - changing the default package set means that a container
build that works one day can break the next. In our case, the
problem wasn't so much that systemd was removed, but that the unit
masks were removed. This causes some components of systemd to be
unable to function in a container, and puts a burden on users to
identify the problem.

https://pagure.io/releng/issue/9603

[0] https://bugzilla.redhat.com/show_bug.cgi?id=1841139
2020-07-14 13:30:31 -04:00
siddharthvipul
3e16f700a8 remove package systemd from fedora container base image
Signed-off-by: siddharthvipul <siddharthvipul1@gmail.com>
2020-05-31 17:33:08 +05:30
Clement Verna
472602baa9 Revert deleting the tzdata from the container base image.
This change is breaking python pytz module which
expect to find the zone.tab file in the zoneinfo
directory.
See BZ #1737013

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-08-02 19:54:50 +02:00
Clement Verna
6d9047adf4 Keep dnf history otherwise it breaks dnf.
Trying to use dnf in the latest rawhide container compose fails
with a RuntimeError: Statement: no such table: trans_item in

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-07-31 20:23:41 +02:00
Clement Verna
a82cbd1567 Exclude langpacks-en instead of langpacks-core-en.
Langpacks-en depends on langpacks-core-en so it should
be the one we exclude.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-07-30 11:16:59 +02:00
Clement Verna
447182d771 Excule langpacks-core-en from the container base image.
The base image does need to have langpacks-core-en, this has for effect
to remove the dejavu fonts from the base image.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-07-29 09:33:18 +02:00
Clement Verna
e8fd539b8c Remove not needed files from the container base image.
This brings some of the fedora-minimal optimization to the fedora
base image. We remove the timezones info, default fonts and some
logs.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-07-26 08:55:02 +02:00
Igor Gnatenko
1c39c0adb0
Do not install weak deps in containers
Those are pretty useless in containers. People want small containers and
if something extra is needed, they are going to install it. There is no
point in having python3-unbound or rpm-plugin-systemd-inhibit in there…

Closes: https://pagure.io/releng/issue/8530
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-07-22 18:56:49 +02:00
Clement Verna
9dbe324625 Setup the correct locale in the base image.
Since the base image is now using the minimal glibc langpack we need
to use the POSIX locale.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1727489

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-07-07 10:55:42 +02:00
Clement Verna
31e2c58081 Remove cracklib-dicts from the base container image.
This commit remove the cracklib-dicts package which provides
tests passwords to help user choose strong password. The
package is not required by any other packages.
This will save ~9MB from the base image size.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-07-05 08:56:35 +02:00
Clement Verna
5a0e21c6c5 Remove the glibc-langpack-en from the base container image.
This commit makes sure that we don't install the all the en locale
in the base image. This remove around 60MB of the size of the container

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-06-06 14:53:58 +02:00
Clement Verna
d1d9de9a97 Add sudo to the fedora container base image.
sudo is needed in the base image for it to be used in Azure services

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-05-05 14:16:11 +02:00
Clement Verna
413af72641 Rename the container ks files
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-03 15:53:35 +01:00