Add install instruction from Dockerfile

This commit is contained in:
Benjamin Renard 2024-03-11 18:40:48 +01:00
parent ad6ad946cb
commit ac7e94ffc3
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -4,6 +4,16 @@ Nagios/Icinga check plugin to monitor available upgrades on Alpine Linux and its
## Installation ## 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 ```bash
apk add wget apk add wget
mkdir -p /usr/lib/nagios/plugins mkdir -p /usr/lib/nagios/plugins