From ac7e94ffc30b0e7c465b305bfc44a8d55b8fc919 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 11 Mar 2024 18:40:48 +0100 Subject: [PATCH] Add install instruction from Dockerfile --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index a3a30ff..e61c26f 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,16 @@ Nagios/Icinga check plugin to monitor available upgrades on Alpine Linux and its ## Installation +### From Dockerfile + +```dockerfile +# Install check_apk +ADD https://gitea.zionetrix.net/bn8/check_apk/raw/branch/master/check_apk /usr/lib/nagios/plugins/check_apk +RUN chmod 750 /usr/lib/nagios/plugins/check_apk +``` + +### Manual + ```bash apk add wget mkdir -p /usr/lib/nagios/plugins