Skip to content

Commit

Permalink
Merge pull request cesanta#54 from carsonoid/makefile-docker-tweak
Browse files Browse the repository at this point in the history
move docker-build outside of normal build target
  • Loading branch information
rojer committed Dec 12, 2015
2 parents 4d501d0 + ad88cca commit 1aa1e66
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion auth_server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ build-local: update-deps
ca-certificates.crt:
cp $(CA_BUNDLE) .

build build-cross docker-build: update-deps godep ca-certificates.crt
docker-build:
docker run --rm -v $(PWD):/src -e COMPRESS_BINARY=$(COMPRESS_BINARY) $(BUILDER_OPTS-$@) $(BUILDER_IMAGE)$(BUILDER_IMAGE_EXTRA-$@) $(IMAGE)

build build-cross: update-deps godep ca-certificates.crt docker-build

docker-tag-%:
docker tag -f $(IMAGE):latest $(IMAGE):$*

Expand Down

0 comments on commit 1aa1e66

Please sign in to comment.