From bf523267e266de43e47fef2350f1063bbf0861af Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 19 Mar 2015 17:41:48 -0400 Subject: [PATCH] docker-base: Add some instructions for local builds --- fedora-docker-base.ks | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/fedora-docker-base.ks b/fedora-docker-base.ks index c039c93..3b9ae6d 100644 --- a/fedora-docker-base.ks +++ b/fedora-docker-base.ks @@ -2,6 +2,18 @@ # # To keep this image minimal it only installs English language. You need to change # yum configuration in order to enable other languages. +# +### Hacking on this image ### +# This kickstart is processed using Anaconda-in-ImageFactory (via Koji typically), +# but you can run imagefactory locally too. +# +# To do so, testing local changes, first you'll need a TDL file. I store one here: +# https://git.fedorahosted.org/cgit/fedora-atomic.git/tree/fedora-atomic-rawhide.tdl +# +# Then, once you have imagefactory and imagefactory-plugins installed, run: +# +# imagefactory --debug target_image --template /path/to/fedora-atomic-rawhide.tdl --parameter offline_icicle true --file-parameter install_script $(pwd)/fedora-docker-base.ks docker +# cmdline bootloader --location=none