LAV JOSHI
05/27/2022, 5:33 AMTimothy Jones
05/27/2022, 5:38 AMbash
?Timothy Jones
05/27/2022, 5:39 AMSHELL=/bin/bash
(or similar) might be helpful
https://www.gnu.org/software/make/manual/html_node/Choosing-the-Shell.htmlLAV JOSHI
05/27/2022, 6:00 AMTimothy Jones
05/27/2022, 6:14 AMSHELL=/bin/bash
line in the makefile, solving this for everyone, maybeLAV JOSHI
05/27/2022, 6:56 AMTimothy Jones
05/27/2022, 7:41 AMTimothy Jones
05/27/2022, 7:42 AMPACT_CLI="docker run --rm -v ${PWD}:${PWD} -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN pactfoundation/pact-cli"
to
PACT_CLI="docker run --rm -v "/$(PWD):$(PWD)" -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN pactfoundation/pact-cli"
...maybe. I don't have a windows machine to test onTimothy Jones
05/27/2022, 7:46 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
LAV JOSHI
05/27/2022, 9:57 AMLAV JOSHI
05/27/2022, 9:59 AMMatt (pactflow.io / pact-js / pact-go)
LAV JOSHI
05/27/2022, 10:09 AMLAV JOSHI
05/27/2022, 10:09 AMPACT_CLI="docker run --rm -v "/$(PWD):$(PWD)" -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN pactfoundation/pact-cli"
Tried this as wellLAV JOSHI
05/27/2022, 10:11 AMMatt (pactflow.io / pact-js / pact-go)
${PWD}:${PWD}
part of that command says “mount the current directory into the container, at the same path”.
See if you can replace the PWD
with the correct folder path for the source (i.e. your machine) and target (the container).