mirror of https://github.com/perkeep/perkeep.git
Remove old stuff from misc/docker/camlistored/Makefile
Change-Id: I6eafdc65b8a3ab9046879e5b540e9635754ebfaf
This commit is contained in:
parent
1e8a41595d
commit
322ce34fe7
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue