| OLD | NEW |
| (Empty) | |
| 1 # Dockerfile extending the generic Go image with application files for a |
| 2 # single application. |
| 3 FROM golang:1.4 |
| 4 |
| 5 # Copy the local package files to the container's workspace. |
| 6 ADD _gopath/src/ /go/src |
| 7 COPY run.sh /opt/logdog_collector/run.sh |
| 8 |
| 9 # Build the command inside the container. |
| 10 # (You may fetch or manage dependencies here, |
| 11 # either manually or with a tool like "godep".) |
| 12 RUN go install github.com/luci/luci-go/server/cmd/logdog_collector |
| 13 |
| 14 # Run the output command by default when the container starts. |
| 15 ENTRYPOINT ["/opt/logdog_collector/run.sh", "/go/bin/logdog_collector"] |
| OLD | NEW |