Commit Graph

15 Commits

Author SHA1 Message Date
Dusty Mabe 7ba27d5891
docker-min,docker-base: remove reference to yum in kickstart 2017-01-24 18:07:07 -05:00
Dusty Mabe e99c9edc74
docker-min: remove e2fsprogs,libss,fuse-libs 2017-01-24 18:07:07 -05:00
Dusty Mabe 42b8714c65
docker-min: a few more things that can be removed 2017-01-24 18:07:07 -05:00
Dusty Mabe 6f0cdf042d
docker-min: make our rm commands verbose 2017-01-24 18:07:07 -05:00
Dusty Mabe 22bc79ed6f
docker-min: move /run/lock to %post nochroot
umount doesn't exist in the minimal image
2017-01-24 18:07:07 -05:00
Dusty Mabe af27549437
docker-min: move /usr/share/{locale,i18n} to %post nochroot
find does not exist in the minimal image chroot so we'll have to
run it from outside.
2017-01-24 18:07:07 -05:00
Dusty Mabe 135de4a70b
docker-min: add a comment, remove a comment 2017-01-24 18:07:06 -05:00
Dusty Mabe ee367f90b0
docker-min: merge pruning commands
Merge pruning commands. Don't rm /etc/machine-id or /run/ because we
just ran commands to touch /etc/machine-id and /run/lock
2017-01-24 18:07:06 -05:00
Dusty Mabe 8ce607a7ef
docker-min: cleanup dead code
usr/share/gcc* isn't in the image.
2017-01-24 18:07:06 -05:00
Dusty Mabe ac2953ec38
docker-min: fix /run/lock without legacy.conf or systemd-tmpfiles 2017-01-24 18:07:06 -05:00
Dusty Mabe 1efe347bcb
docker-min: delete systemctl mask calls
No systemd so no need to mask.
2017-01-24 18:07:06 -05:00
Dusty Mabe 46c10b3c76
docker-min: remove cleanup of /usr/share/doc
There are no files in those directories to clean up.
--excludedocs is doing its job.
2017-01-24 18:07:06 -05:00
Dusty Mabe 4109ebf261
docker-min: trim down package list, exclude weak deps
We only want basics and microdnf.
2017-01-24 18:07:05 -05:00
Dusty Mabe 5cbb3babd0
docker-min: add in post processing from walters' scripts
He has done some work on this in the past at [1].

[1] - 3f6c905fef/postprocess.sh
2017-01-24 18:07:05 -05:00
Dusty Mabe 2f3f37ebd6
docker-min: add a new kickstart for creating a slimmer image
We'll start with the same used for fedora docker base.
2017-01-24 18:06:45 -05:00