https://alaveteli.org/docs/installing/docker/
What are the preconditions for setting up the Docker development environment?
I have cloned the alaveteli repository and get the following error messages when running the docker/setup script.
~/src/alaveteli$ ./docker/setup
./docker/setup: 8: ./docker/setup: source: not found
Works when running the script with bash explicitly:
$ bash ./docker/setup
Checking dependencies... Can't find /home/user1/src/alaveteli-themes directory. Please create and rerun.
Works after creating sibling directory.
$ mkdir ../alaveteli-themes
Installing Ruby gems... fatal: detected dubious ownership in repository at '/alaveteli'
To add an exception for this directory, call:
git config --global --add safe.directory /alaveteli
Switching to alavetelitheme... fatal: detected dubious ownership in repository at '/alaveteli'
To add an exception for this directory, call:
git config --global --add safe.directory /alaveteli
Not sure what to do about the dubious ownership.
Should the setup script and docker compose be run with a certain user account with ownership of the alaveteli and sibling alaveteli-themes directories?
Is it assumed that the the repository directories are set up by some other documented instructions?
I notice there is no mention in the Docker setup docs of where to get the alaveteli project files, so maybe there are unspoken prerequisites beyond cloning the repository.