Commit Graph

25 Commits

Author SHA1 Message Date
Adam Miller
fb34ac6186 fix missing /run/lock in docker base image BZ#1343138
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2016-07-22 16:04:40 -05:00
Peter Robinson
7f13b20e33 Docker: Base: add arm config, use includes for ppc config 2016-04-12 15:44:02 +01:00
Jan Pazdziora
ee22a9c00c Add sssd-client with .so's for easy integration with SSSD container. 2015-10-30 09:20:42 -05:00
Adam Miller
6ea47a9570 add tsflags=nodocs to dnf.conf as well as yum.conf 2015-09-01 15:55:14 -05:00
Colin Walters
4dc7946ad4 docker: Use bootloader --none to work around Anaconda regression
We were getting grub2 in the base image again.  Apparently
for a while Anaconda has supported a cleaner syntax for this, and
since it fixes the bug, let's use it.

https://bugzilla.redhat.com/show_bug.cgi?id=1222132
2015-05-15 17:35:52 -04:00
Colin Walters
6ba647a663 docker: Don't use a hardcoded root password
Best practice is to use unprivileged service daemons inside Docker
containers.  But with this hardcoded root password, in the case of
remote code execution, an attacker could trivially escalate their
privileges to root/uid 0.  And while that's uid 0 inside a container,
that's a much larger attack surface.

Instead, do the same thing we're doing for the Cloud images: lock the
root password, create a user to make Anaconda happy, then delete the
user in %post.

https://bugzilla.redhat.com/show_bug.cgi?id=1175997
2015-05-06 14:36:59 -04:00
Colin Walters
7d0d94b23d Revert "we can not install dnf-yum until FESCo signs off on it being allowed"
It's now agreed.

This reverts commit c3c01cfa0a.
2015-03-25 15:33:35 -04:00
Dennis Gilmore
c3c01cfa0a we can not install dnf-yum until FESCo signs off on it being allowed 2015-03-19 20:06:04 -05:00
Colin Walters
961b78fbd8 docker-base: Add dnf-yum
Per the FESCo ticket.
2015-03-19 17:43:34 -04:00
Colin Walters
bf523267e2 docker-base: Add some instructions for local builds 2015-03-19 17:41:48 -04:00
Colin Walters
f2ad1bb926 docker-base: Start shipping fstab again
Even though it's silly, the ImageFactory-in-Koji use case calls into
libguestfs to introspect the target system, and libguestfs relies on
/etc/fstab to detect installed operating systems.
2015-03-19 17:37:37 -04:00
Dennis Gilmore
44178ef0b3 Remove the firewall line as it causes anaconda to add firewalld to the
package set. revert back to fedora-release
2015-03-13 13:36:10 -05:00
Dennis Gilmore
d4fa62eaab pull in fedora-release-cloud to make the docker base image smaller
during install dnf was pulling in fedora-release-server which added a lot of bloat
2015-03-11 10:38:08 -05:00
Dennis Gilmore
e897975918 switch teh docker base image to dnf 2015-03-07 11:12:24 -06:00
Vaclav Pavlin
cf6ffa1988 fedora-docker-base: Remove fstab in %post 2015-02-12 13:48:19 +01:00
Vaclav Pavlin
8f3beacf10 fedora-docker-base: remove machine-id after installation so that systemd can set it properly 2015-02-06 13:43:59 +01:00
Kushal Das
6bf1907a10 Updates the timezone in docker image to UTC.
Closes trac #91.
2015-01-28 14:08:40 +05:30
Vaclav Pavlin
20a9971686 fedora-docker-base: adjust dbus.service to run in a container, mask some units to get rid of fails in boot transaction 2015-01-21 10:17:49 +01:00
Vaclav Pavlin
7c09012288 fedora-docker-base: Add rootfiles and regenerate locale after removal
https://fedorahosted.org/cloud/ticket/92
2015-01-21 09:23:04 +01:00
Dennis Gilmore
b947d49831 use link as the device for netwrok in the cloud images 2014-12-12 16:07:54 -08:00
Dennis Gilmore
94283bfff2 Revert "docker: Add fakesystemd to %packages to keep systemd out of base image"
This reverts commit f42fe5d85a.
2014-09-10 13:13:48 -05:00
Vaclav Pavlin
cece80a91b docker: Add fakesystemd to %packages to keep systemd out of base image 2014-09-05 08:37:18 -05:00
Matthew Miller
22c7c00a6b use 'cmdline' for text-based install for docker image 2014-09-03 13:20:26 -04:00
Dennis Gilmore
8180b563f1 fix up the options to the bootloader config, make the rootfs smaller. 2014-07-30 02:29:54 -05:00
Vaclav Pavlin
022cc883c0 Add kickstart for Docker base image 2014-07-30 02:29:51 -05:00