From 322ce34fe736d61343e72dedc108f9073aa63db5 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 2 Apr 2015 02:28:15 -0700 Subject: [PATCH] Remove old stuff from misc/docker/camlistored/Makefile Change-Id: I6eafdc65b8a3ab9046879e5b540e9635754ebfaf --- misc/docker/camlistored/Makefile | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/misc/docker/camlistored/Makefile b/misc/docker/camlistored/Makefile index f5d685293..73f1513fd 100644 --- a/misc/docker/camlistored/Makefile +++ b/misc/docker/camlistored/Makefile @@ -1,18 +1,11 @@ -docker: Dockerfile camlistored djpeg - docker build -t camlistored . +# TODO: delete this whole file and move into dock.go. Even the +# uploading should be direct from Go instead of using gsutil. See how +# golang.org/x/build/... does it and its cmd/upload etc. Also, we can +# use golang.org/x/oauth2/google's DefaultApplicationContext now too +# probably. -.PHONY: djpeg - -djpeg: - (cd ../djpeg-static/; make djpeg; cp djpeg ../camlistored/) - -.PHONY: camlistored - -camlistored: - (cd ../../../; go run make.go --docker_camlistored) - -camlistored.tar.gz: docker - docker save camlistored | gzip -c > $@ +camlistored.tar.gz: + docker save camlistore/server | gzip -c > $@ push: camlistored.tar.gz gsutil cp $< gs://camlistore-release/docker/