genesis
This commit is contained in:
commit
9c2c218594
15
.drone.yaml
Normal file
15
.drone.yaml
Normal 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
16
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user