Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Unified Diff: server/cmd/logdog_collector/Dockerfile

Issue 1610993002: LogDog: Add collector service implementation. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Comments, rebase. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « common/proto/logdog/svcconfig/config.pb.go ('k') | server/cmd/logdog_collector/main.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"]
« no previous file with comments | « common/proto/logdog/svcconfig/config.pb.go ('k') | server/cmd/logdog_collector/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698