1
0
Fork 0
master
Hanjo Meinhardt 6 years ago
commit 9c2c218594

@ -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 ]

@ -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"]