Add install instruction from Dockerfile
This commit is contained in:
parent
ad6ad946cb
commit
ac7e94ffc3
1 changed files with 10 additions and 0 deletions
10
README.md
10
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
|
||||
|
|
Loading…
Reference in a new issue