The .env setup didn't do GID. It's a bit of a chore to do because
there doesn't seem to be a GID shell variable and because we need
to do a bit more work to get a multi-line thing, but this should
work.
While we're at it, change the docker-compose info, it's hopelessly
out of date.
Reviewed-by: Stephen Finucane <stephen@that.guru>
Signed-off-by: Daniel Axtens <dja@axtens.net>
$ git clone https://github.com/getpatchwork/patchwork.git
3. Create a ``.env`` file in the root directory of the project and store your
- ``UID`` attribute there::
+ ``UID`` and ``GID`` attributes there::
- $ cd patchwork && echo "UID=$UID" > .env
+ $ cd patchwork && printf "UID=$(id -u)\nGID=$(id -g)\n" > .env
-4. Build the images. This will download over 200MB from the internet::
+4. Build the images. This will download a number of packages from the internet,
+ and compile several versions of Python::
$ docker-compose build