-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Caleb Hailey
committed
Oct 15, 2019
1 parent
c4d3bb5
commit 8d83ae5
Showing
3 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM amazonlinux:2 as builder | ||
|
||
ARG SENSU_GO_ASSET_NAME="monitoring-plugins-amazon" | ||
ARG SENSU_GO_ASSET_VERSION="2.2.0" | ||
ARG PLUGINS="check_http" | ||
|
||
ADD create-sensu-asset /usr/bin/create-sensu-asset | ||
|
||
WORKDIR /usr/lib64/nagios/plugins/ | ||
|
||
RUN amazon-linux-extras install -y epel && yum install -y which tar nagios-plugins-all | ||
RUN create-sensu-asset -a $SENSU_GO_ASSET_NAME -b $PLUGINS -v $SENSU_GO_ASSET_VERSION -o / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters