1
0
This commit is contained in:
Hanjo Meinhardt 2019-01-13 20:18:10 +01:00
commit 9c2c218594
3 changed files with 31 additions and 0 deletions

15
.drone.yaml Normal file
View File

@ -0,0 +1,15 @@
pipeline:
docker:
image: plugins/docker
repo: bunix42/prometheus-pingdom-exporter
tags:
- 0.1.1
- latest
secrets: [ docker_username, docker_password ]
slack:
image: plugins/slack
channel: drone
username: drone
secrets: [ slack_webhook ]

16
Dockerfile Normal file
View File

@ -0,0 +1,16 @@
FROM alpine:3.8 as downloader
MAINTAINER Hanjo Meinhardt <hanjo@bunix.de>
RUN apk add --no-cache curl tar gzip
RUN curl -L https://github.com/giantswarm/prometheus-pingdom-exporter/releases/download/0.1.1/prometheus-pingdom-exporter.0.1.1.linux.tar.gz | tar xz
FROM alpine:3.8
COPY --from=downloader /prometheus-pingdom-exporter /prometheus-pingdom-exporter
RUN apk add --no-cache ca-certificates
EXPOSE 8000
ENTRYPOINT ["/prometheus-pingdom-exporter"]

0
README.md Normal file
View File