| Index: server/cmd/logdog_collector/Dockerfile
|
| diff --git a/server/cmd/logdog_collector/Dockerfile b/server/cmd/logdog_collector/Dockerfile
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c2e1fa98b8cdb07aa1f3565a09a5d89a219944ca
|
| --- /dev/null
|
| +++ b/server/cmd/logdog_collector/Dockerfile
|
| @@ -0,0 +1,15 @@
|
| +# Dockerfile extending the generic Go image with application files for a
|
| +# single application.
|
| +FROM golang:1.4
|
| +
|
| +# Copy the local package files to the container's workspace.
|
| +ADD _gopath/src/ /go/src
|
| +COPY run.sh /opt/logdog_collector/run.sh
|
| +
|
| +# Build the command inside the container.
|
| +# (You may fetch or manage dependencies here,
|
| +# either manually or with a tool like "godep".)
|
| +RUN go install github.com/luci/luci-go/server/cmd/logdog_collector
|
| +
|
| +# Run the output command by default when the container starts.
|
| +ENTRYPOINT ["/opt/logdog_collector/run.sh", "/go/bin/logdog_collector"]
|
|
|