Skip to content

Commit ad88cca

Browse files
author
Carson Anderson
committed
move docker-build outside of normal build target
This makes it much easier to rebuild the project by itself if you don't need updated deps or the full image
1 parent 4d501d0 commit ad88cca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

auth_server/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ build-local: update-deps
2626
ca-certificates.crt:
2727
cp $(CA_BUNDLE) .
2828

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

32+
build build-cross: update-deps godep ca-certificates.crt docker-build
33+
3234
docker-tag-%:
3335
docker tag -f $(IMAGE):latest $(IMAGE):$*
3436

0 commit comments

Comments
 (0)