Skip to content

Commit

Permalink
fix copy-pasta in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver006 committed Jun 19, 2015
1 parent ff2b49f commit ba78a82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ FROM alpine:3.2
MAINTAINER Oliver <[email protected]>

ENV GOPATH /go
COPY . /go/src/github.com/prometheus/redis_exporter
COPY . /go/src/github.com/oliver006/redis_exporter

RUN apk add --update -t build-deps go git mercurial make \
&& apk add -u musl && rm -rf /var/cache/apk/* \
&& cd /go/src/github.com/prometheus/redis_exporter \
&& cd /go/src/github.com/oliver006/redis_exporter \
&& go get && go build && cp redis_exporter /bin/redis_exporter \
&& rm -rf /go && apk del --purge build-deps

Expand Down

0 comments on commit ba78a82

Please sign in to comment.