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

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: Created 4 years, 11 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
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"]

Powered by Google App Engine
This is Rietveld 408576698