2021-01-13 16:36:50 +00:00
|
|
|
[Unit]
|
2021-08-28 11:51:11 +00:00
|
|
|
Description=Container Build for %I
|
2021-06-27 11:52:47 +00:00
|
|
|
Wants=network-online.target container-environment@%i.service container-network@internal.service container-build@%i.path
|
|
|
|
After=network-online.target container-environment@%i.service container-network@internal.service
|
2021-08-14 21:28:28 +00:00
|
|
|
ConditionPathExists=%E/coreos-home-server/%i/Containerfile
|
2021-01-13 16:36:50 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2021-08-01 22:38:05 +00:00
|
|
|
Environment=PODMAN_BUILD_OPTIONS=
|
2021-08-14 21:28:28 +00:00
|
|
|
ExecStart=/bin/podman build $PODMAN_BUILD_OPTIONS --file %E/coreos-home-server/%i/Containerfile --tag localhost/%i:latest %E/coreos-home-server/%i
|
2021-01-13 16:36:50 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|