Skip to content

Commit

Permalink
internal/tracecontexttest: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
axw committed Jan 17, 2019
1 parent 3242faa commit 4befd75
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions internal/tracecontexttest/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM golang:latest
WORKDIR /go/src/go.elastic.co/apm
RUN go get -v github.com/pkg/errors
RUN go get -v go.elastic.co/fastjson
RUN go get -v golang.org/x/net/context
RUN go get -v golang.org/x/net/context/ctxhttp

ADD . /go/src/go.elastic.co/apm
ENV GO111MODULE=on

EXPOSE 5000/tcp
CMD go run internal/tracecontexttest/main.go
WORKDIR /go/src/go.elastic.co/apm/internal/tracecontexttest
HEALTHCHECK CMD curl -X POST -H "Content-Type: application/json" -d "{}" http://localhost:5000
CMD go run main.go

0 comments on commit 4befd75

Please sign in to comment.