-
Notifications
You must be signed in to change notification settings - Fork 839
All should buld the docker images (and therefore the binaries and protos via dependancies), and not the exes directly. #1399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…tos via dependancies), and not the exes directly. Also, reduce the spam when building by hiding the docker run commands. Signed-off-by: Tom Wilkie <[email protected]>
|
Remaining problem is that successive calls to |
Signed-off-by: Tom Wilkie <[email protected]>
Signed-off-by: Tom Wilkie <[email protected]>
Signed-off-by: Goutham Veeramachaneni <[email protected]>
| # Dependencies (i.e. things that go in the image) still need to be explicitly | ||
| # declared. | ||
| %/$(UPTODATE): %/Dockerfile | ||
| @echo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's this change for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put some new lines in the output of the makefile to make it easier to follow what it was doing. I like them, but not super attached. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, thanks! LGTM!!!!
| @mkdir -p $(shell pwd)/.pkg | ||
| @mkdir -p $(shell pwd)/.cache | ||
| $(SUDO) time docker run $(RM) $(TTY) -i \ | ||
| @echo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
| @mkdir -p $(shell pwd)/.cache | ||
| DB_CONTAINER="$$(docker run -d -e 'POSTGRES_DB=configs_test' postgres:9.6)"; \ | ||
| $(SUDO) docker run $(RM) $(TTY) -i \ | ||
| @echo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
Also:
On master, running
makebuilds the binaries twice and enters the build container too often.Which this change we don't:
Signed-off-by: Tom Wilkie [email protected]