mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Alex Palaistras
ef7951dd72
This was changed recently to help with re-building container images with side-effects, but causes other issues and delays.
14 lines
563 B
Desktop File
14 lines
563 B
Desktop File
[Unit]
|
|
Description=Container build for %I
|
|
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
|
|
ConditionPathExists=/etc/container-service/%i/Containerfile
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
Environment=PODMAN_BUILD_OPTIONS=
|
|
ExecStart=/bin/podman build $PODMAN_BUILD_OPTIONS --file /etc/container-service/%i/Containerfile --tag localhost/%i:latest /etc/container-service/%i
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|