container/builder: configure plugin via cfg file

Matches the config of the containers.
This commit is contained in:
Christian Kellner 2020-09-06 20:11:37 +02:00
parent d31cadd304
commit 750bf5421b
2 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,7 @@ fi
${CONTAINER_RUNTIME} run --rm -i -t --name org.osbuild.koji.builder --network org.osbuild.koji \
-v "${SHARE_DIR}:/share:z" \
-v "${DATA_DIR}:/mnt:z" \
-v "${PWD}/container/builder/osbuild-koji.conf:/etc/osbuild-composer/koji.conf:z" \
--hostname org.osbuild.koji.kojid \
--add-host=composer:$(ip route show dev cni-podman0 | cut -d\ -f7) \
koji.builder