Remove docker files, update gitignore

This commit is contained in:
Fabian Reinartz 2015-08-26 11:54:01 +02:00
parent 81626411f9
commit 84c7af9652
3 changed files with 2 additions and 25 deletions

View File

@ -1 +0,0 @@
.deps

5
.gitignore vendored
View File

@ -1,8 +1,5 @@
.build
.deps/
data
alertmanager
*-stamp
*.config
silences.json
*.yml
*.yaml

View File

@ -1,19 +0,0 @@
FROM golang:latest
MAINTAINER Prometheus Team <prometheus-developers@googlegroups.com>
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