Commit Graph

17 Commits

Author SHA1 Message Date
Carlos O'Donell 04e1ba3b6e Only base containers should have tzdata
The base container should always install tzdata to ensure that it is
available for applications built on top of the base container.

The minimal container should never have tzdata installed, and the
application should install it as part of the application dependencies.

Starting with Fedora 39 we have the capability to remove tzdata from
the minimal images without resorting to deleting files:
https://fedoraproject.org/wiki/Changes/AllowRemovalOfTzdata
2023-10-24 07:33:29 -04:00
Gerard Braad (吉拉德) 300323ea4e Add placeholder for resolv.conf
This prevents that the wrong permissions are set on the resolv.conf file when the container image is used as a base for non-root use.
2022-07-20 06:39:03 +00:00
Stephen Gallagher fc62a6121f Fix rpm GPG import for ELN
ELN needs to import the current key as well as keys a few releases
back, since it doesn't (currently) re-sign at Fedora branching.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-01-20 18:52:11 +00:00
Stephen Gallagher 4477181faf
Ensure that util-linux-core is available
In 1f3645b72d we added a removal of
util-linux, so this section had both:

%packages --excludedocs --instLangs=en --nocore --excludeWeakdeps
util-linux
...
-util-linux

This changes the first of those two entries to include
util-linux-core instead of util-linux, so these two directives do
not conflict.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-01-05 06:53:38 -05:00
Clement Verna 1f3645b72d Replace shadow-utils by util-linux
As part of 1abc805 I removed shadow-utils instead of util-linux.
shadow-utils was previously part of https://bugzilla.redhat.com/show_bug.cgi?id=1951111
but got removed after feedback received.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-05-03 10:28:16 +02:00
Clement Verna 1abc805cca Remove shadow-utils and sssd-client from the container base image
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1951111.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-04-28 21:40:11 +00:00
Clement Verna b37111ec10 Make sure to exclude langpacks-en_GB from the container image
We already install glibc-minimal-langpack and langpacks-en_GB
pulls the dejavu-sans-fonts which is almost 6MB.

Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-04-02 11:46:47 +00:00
Clement Verna 0087094832 The option --nontp is deprecated
Replacing it by the recommended timesource --ntp-disable command

Signed-off-by: Clement Verna <cverna@tutanota.com>
2021-04-01 10:44:37 +02:00
siddharthvipul ed48111a5b remove systemd from packages
Signed-off-by: siddharthvipul <siddharthvipul1@gmail.com>
2020-05-22 16:40:12 +05:30
Kevin Fenzi 98d51b300a libcrypt was dropped a while back.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-08-30 23:46:53 -07:00
Clement Verna 02376eae8a Explicitly install systemd in the image.
It seems that systemd is required by anaconda which wants
to setup the default target. Since dnf dependencies to systemd
was dropped in [0] we need to install it explicitly.

[0] - faa199f160?branch=master

Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-08-21 13:56:55 +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
Damian Wrobel 68b6257e0e Unify obtaining 'relesever'
Continuation of https://pagure.io/fedora-kickstarts/c/19a7b3b113d97db14d27f6a86db3c7479453a5ea?branch=master
but across entire repository.
2019-07-17 10:55:01 +02:00
Clement Verna a07f9892b1 Explicitly set the container base image locale to C.UTF-8
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-07-16 19:21:25 +02:00
Clement Verna 363a8c6845 Use the fedora-release-container package to get the release version
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-02-06 21:10:45 +00:00
Clement Verna c28b7e2777 Use the fedora-release-container package in container images
Signed-off-by: Clement Verna <cverna@tutanota.com>
2019-01-07 19:00:55 +00: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