Mercurial > p > roundup > code
view scripts/Docker/roundup_healthcheck @ 7237:f636acd7d63c
hadolint fixes/best practices added
Enable -o pipefail for RUN commands with pipes so any errors in the
pipeline cause a failure.
use wget -q to reduce log size for large file downloads.
Run all apk with --no-cache so I don't need to remove /var/cache/apk/*.
Quote variables in RUN shell scripts unless they need to be expanded.
Don't use direct variable substitution in printf.
Update comment for installing python packages using apk.
Remove --use-feature=in-tree-build from local_pip pip command. This
feature is the default with newer pips and is now an error if used.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 30 Mar 2023 19:35:08 -0400 |
| parents | a24ec63759f6 |
| children | 7b9bddda9d2d |
line wrap: on
line source
#! /bin/sh tracker=$(ps -ef | sed -ne '/roundup-server/s/^.*\s\(\w*\)=.*$/\1/p') wget -q -O /dev/null --no-verbose http://localhost:8080/$tracker/
