From 9fce30abaafc7ec2c17a16b1303be0d5d409dc96 Mon Sep 17 00:00:00 2001 From: Ben Green Date: Sun, 7 Feb 2021 15:10:44 +0000 Subject: [PATCH 1/3] Adding pipefail and comments to healthcheck --- overlay/usr/local/bin/healthcheck | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/overlay/usr/local/bin/healthcheck b/overlay/usr/local/bin/healthcheck index 73e8ce4..66e2915 100644 --- a/overlay/usr/local/bin/healthcheck +++ b/overlay/usr/local/bin/healthcheck @@ -1,2 +1,10 @@ #!/bin/sh + +set -euo pipefail + + +#====================================================================================================================== +# Attempt to load localhost using wget +#====================================================================================================================== + wget --no-verbose --tries=1 --spider http://localhost || exit 1 From 883d2364fc654dc6a5d4e00951f7632522ab1914 Mon Sep 17 00:00:00 2001 From: Ben Green Date: Sun, 7 Feb 2021 15:10:50 +0000 Subject: [PATCH 2/3] Trimming whitespace --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4120e70..e68fa2b 100644 --- a/README.md +++ b/README.md @@ -32,5 +32,5 @@ Based on [official PHP image](https://hub.docker.com/_/php/) for PHP 5.6.40 with ## Copyright -> Copyright (c) 2021 Ben Green +> Copyright (c) 2021 Ben Green > Unless otherwise stated From 10854de5e62da94a0fb52d1a7a70c8dbcfc3f693 Mon Sep 17 00:00:00 2001 From: Ben Green Date: Sun, 7 Feb 2021 15:11:21 +0000 Subject: [PATCH 3/3] Bumping version to 1.1.2 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 8cfbc90..8428158 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.1 \ No newline at end of file +1.1.2 \ No newline at end of file