Skip to content

Commit

Permalink
v1.1.2 (#2)
Browse files Browse the repository at this point in the history
Minor updates
* Adding pipefail healthcheck
* Trimming whitespace

Documentation updates
* Adding comments to healthcheck
  • Loading branch information
bfren authored Feb 7, 2021
1 parent 692ceab commit c572ef7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://bcgdesign.com>
> Copyright (c) 2021 Ben Green <https://bcgdesign.com>
> Unless otherwise stated
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.1
1.1.2
8 changes: 8 additions & 0 deletions overlay/usr/local/bin/healthcheck
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c572ef7

Please sign in to comment.