mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
cmake: Do not send local context when for make review/reproduce
The Dockerfiles for make review and make reproduce targets do not use any information from the local taskwarrior git repository. Use STDIN-based syntax to ensure local context is not sent to the daemon. See: https://docs.docker.com/engine/reference/commandline/build/#build-with--
This commit is contained in:
parent
94a06ed38a
commit
c72e1ea379
1 changed files with 2 additions and 2 deletions
|
@ -155,13 +155,13 @@ foreach (doc_FILE ${doc_FILES})
|
|||
endforeach (doc_FILE)
|
||||
|
||||
add_custom_command(OUTPUT run-review
|
||||
COMMAND docker build -f scripts/review-dockerfile --build-arg PR=$(PR) -t taskwarrior-review:$(PR) .
|
||||
COMMAND docker build --build-arg PR=$(PR) -t taskwarrior-review:$(PR) - < scripts/review-dockerfile
|
||||
COMMAND docker run --rm --hostname pr-$(PR) -it taskwarrior-review:$(PR) bash || :
|
||||
)
|
||||
add_custom_target(review DEPENDS run-review)
|
||||
|
||||
add_custom_command(OUTPUT run-reproduce
|
||||
COMMAND docker build -f scripts/reproduce-dockerfile --build-arg RELEASE=$(RELEASE) -t taskwarrior-reproduce:$(RELEASE) .
|
||||
COMMAND docker build --build-arg RELEASE=$(RELEASE) -t taskwarrior-reproduce:$(RELEASE) - < scripts/reproduce-dockerfile
|
||||
COMMAND docker run --rm --hostname tw-$(RELEASE) -it taskwarrior-reproduce:$(RELEASE) bash || :
|
||||
)
|
||||
add_custom_target(reproduce DEPENDS run-reproduce)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue