0

I am trying to make the duckiebook on Ubuntu 16.04.  I run “make compile-docker” and get:

$ make compile-docker
echo
# git submodule sync --recursive
# git submodule update --init --recursive
# docker pull andreacensi/mcdp_books:duckuments
echo gitdir = /home/stefie10/dev/brown/teaching/2018-fall-robotics/docs-brown
gitdir = /home/stefie10/dev/brown/teaching/2018-fall-robotics/docs-brown
echo gitdir_super = --show-superproject-working-tree
gitdir_super = --show-superproject-working-tree
mkdir -p /tmp/fake-stefie10-home
docker run
-v /home/stefie10/dev/brown/teaching/2018-fall-robotics/docs-brown:/home/stefie10/dev/brown/teaching/2018-fall-robotics/docs-brown
-v --show-superproject-working-tree:--show-superproject-working-tree
-v /home/stefie10/dev/brown/teaching/2018-fall-robotics/docs-brown:/home/stefie10/dev/brown/teaching/2018-fall-robotics/docs-brown
-v /tmp/fake-stefie10-home:/home/stefie10
-e USER=stefie10 -e USERID=1000 --user 1000
-e COLUMNS=80
-ti
"andreacensi/mcdp_books:duckuments"
/project/run-book-native.sh
"doc-template" "book/doc-template" "resources"
"/home/stefie10/dev/brown/teaching/2018-fall-robotics/docs-brown"
docker: Error response from daemon: invalid volume specification: '--show-superproject-working-tree:--show-superproject-working-tree': invalid mount config for type "volume": invalid mount path: '--show-superproject-working-tree' mount path must be absolute.
See 'docker run --help'.
resources/makefiles/setup.Makefile:25: recipe for target 'compile-docker' failed
make: *** [compile-docker] Error 125

I believe this is because “$ git rev-parse –show-superproject-working-tree” returns “–show-superproject-working-tree” and not something like a path, and then docker gets confused.

$ git --version
git version 2.7.4
$ apt-show-versions git
git:amd64/xenial-security 1:2.7.4-0ubuntu1.4 uptodate
Is the right way to fix this to install the "git-core" ppa?  If so, the README.md for the repo should say that...

Thank you!

Changed status to publish