Remove old stuff from misc/docker/camlistored/Makefile

Change-Id: I6eafdc65b8a3ab9046879e5b540e9635754ebfaf
This commit is contained in:
Brad Fitzpatrick 2015-04-02 02:28:15 -07:00
parent 1e8a41595d
commit 322ce34fe7
1 changed files with 7 additions and 14 deletions

View File

@ -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/