From 84c7af965276fa31f8683b913090aa9cc085db89 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Wed, 26 Aug 2015 11:54:01 +0200 Subject: [PATCH] Remove docker files, update gitignore --- .dockerignore | 1 - .gitignore | 7 ++----- Dockerfile | 19 ------------------- 3 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 .dockerignore delete mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 39a06683..00000000 --- a/.dockerignore +++ /dev/null @@ -1 +0,0 @@ -.deps diff --git a/.gitignore b/.gitignore index dbf73489..1081c70b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,5 @@ .build -.deps/ +data alertmanager -*-stamp -*.config -silences.json *.yml -*.yaml +*.yaml \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 59c478d2..00000000 --- a/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM golang:latest -MAINTAINER Prometheus Team - -RUN apt-get -qy update && apt-get -qy install vim-common -ENV PKGPATH $GOPATH/src/github.com/prometheus/alertmanager -ENV GOROOT /usr/src/go - -ADD . $PKGPATH -RUN cd $PKGPATH \ - && go get -d \ - && make \ - && rm -rf $PKGPATH/.deps \ - && mkdir /alertmanager \ - && chown nobody /alertmanager - -USER nobody -WORKDIR /alertmanager -ENTRYPOINT [ "/go/src/github.com/prometheus/alertmanager/alertmanager" ] -EXPOSE 9093