Chromium Code Reviews| 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..26afc305a806c94d7108a5ebeb4140f07f155a69 |
| --- /dev/null |
| +++ b/server/cmd/logdog_collector/Dockerfile |
| @@ -0,0 +1,15 @@ |
| +# Dockerfile extending the generic Go image with application files for a |
|
dnj (Google)
2016/01/21 04:36:24
This is used to build the Managed VM. Probably sho
|
| +# 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 outyet command by default when the container starts. |
| +ENTRYPOINT ["/opt/logdog_collector/run.sh", "/go/bin/logdog_collector"] |