coreos-home-server/config/common/systemd/container-build@.service
Alex Palaistras 75765576dc Fix various issues
The fixes here include typos, removals of deprecated paths, fixes for
first-boot-only systemd targets and related MariaDB migrate machinery,
better logging for Postfix, and an increase in the default request body
size for the default NGINX ingress.
2021-08-01 22:31:25 +01:00

15 lines
596 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
RemainAfterExit=true
Environment=PODMAN_BUILD_OPTIONS="--no-cache"
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