diff --git a/Makefile b/Makefile deleted file mode 100644 index 5d8100dd23..0000000000 --- a/Makefile +++ /dev/null @@ -1,3 +0,0 @@ -# default rule which passes all arguments to scripts/Makefile -.DEFAULT: - $(MAKE) -C scripts $(MAKECMDGOALS) diff --git a/scripts/monad-docker.sh b/scripts/monad-docker.sh index a168d14920..a38bd41af1 100755 --- a/scripts/monad-docker.sh +++ b/scripts/monad-docker.sh @@ -11,14 +11,14 @@ monad-tty() } # runs ephemeral andschwa/magrathea docker container with local -# directory mounted to /opt and workdir set to /opt +# directory mounted to /opt and workdir set to /opt/scripts monad-docker-run() { local CONSOLE=$1 shift 1 docker run --rm \ - --volume $(pwd)/:/opt \ - --workdir /opt \ + --volume $(dirname $(pwd))/:/opt \ + --workdir /opt/scripts \ $CONSOLE \ andschwa/magrathea:latest \ bash -c "$(monad-impersonate) -- bash -c '$*'"