From eb1f23abad2113af47d15bb1d717d130a401cdb8 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 26 Nov 2019 15:30:16 +0100 Subject: [PATCH] Fix: Use current workdir for mount / workdir Signed-off-by: Knut Ahlers --- tasks/docker-wrapper.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/docker-wrapper.yml b/tasks/docker-wrapper.yml index 64d23b3..506d5db 100644 --- a/tasks/docker-wrapper.yml +++ b/tasks/docker-wrapper.yml @@ -8,7 +8,8 @@ exec docker run --rm -i \ -v "/var/run/docker.sock:/var/run/docker.sock" \ - -v "/etc/docker-compose:/etc/docker-compose:ro" \ + -v "$(pwd):$(pwd):ro" \ + -w "$(pwd)" \ luzifer/docker-compose \ "$@" dest: /usr/local/bin/docker-compose