From 9e4286a5480b78169110d681ce685112b4de6849 Mon Sep 17 00:00:00 2001 From: Peter Marheine Date: Sun, 28 Mar 2021 12:38:25 +1100 Subject: [PATCH] docker: set errexit in the entrypoint script Currently container startup will ignore any errors, which will tend to leave things in a broken state if operations like migrations or certificate provisioning fail. Prefer to terminate the container rather than try to limp on. --- .github/docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/docker/entrypoint.sh b/.github/docker/entrypoint.sh index 6486b2c1..e6e1b096 100644 --- a/.github/docker/entrypoint.sh +++ b/.github/docker/entrypoint.sh @@ -1,4 +1,4 @@ -#!/bin/ash +#!/bin/ash -e cd /app mkdir -p /var/log/panel/logs/ /var/log/supervisord/ /var/log/nginx/ /var/log/php7/ \