From: Stephen Finucane Date: Sat, 6 Jun 2026 14:59:40 +0000 (+0100) Subject: docs: Remove references to UID, GID env X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=f9efa2a3775690dd91e97503471bc099b671dd52;p=thirdparty%2Fpatchwork.git docs: Remove references to UID, GID env These were recently removed. Signed-off-by: Stephen Finucane --- diff --git a/README.rst b/README.rst index ebde1f36..5c83af13 100644 --- a/README.rst +++ b/README.rst @@ -79,26 +79,18 @@ Development Installation `Docker`_ is the recommended installation method for a Patchwork development environment. To install Patchwork: -1. Install `Docker`_ and `docker-compose`_. +#. Install `Docker`_ and `docker-compose`_. -2. Clone the Patchwork repo:: +#. Clone the Patchwork repo:: $ git clone https://github.com/getpatchwork/patchwork.git -3. (Optional) Create a ``.env`` file in the root directory of the project and - store your ``UID`` and ``GID`` attributes there:: - - $ cd patchwork && printf "UID=$(id -u)\nGID=$(id -g)\n" > .env - - This should only be necessary if you have a ``UID`` or ``GID`` other than - ``1000``. - -4. Build the images. This will download a number of packages from the internet, +#. Build the images. This will download a number of packages from the internet, and compile several versions of Python:: $ docker-compose build -5. Run `docker-compose up`:: +#. Run `docker-compose up`:: $ docker-compose up diff --git a/docs/development/installation.rst b/docs/development/installation.rst index 521df51e..3966762f 100644 --- a/docs/development/installation.rst +++ b/docs/development/installation.rst @@ -34,20 +34,6 @@ configure Patchwork using Docker: Mac users might need to enable Rosetta emulation in the docker engine. -#. (Optional) Create a ``.env`` file in the root directory of the project and - store your ``UID`` and ``GID`` attribute there. - - .. code-block:: shell - - $ echo "UID=$UID" > .env - $ echo "GID=`id -g`" >> .env - - This should only be necessary if you have a ``UID`` or ``GID`` other than - ``1000``. For more information on why this is necessary, refer to this - `docker-compose issue`__. - - __ https://github.com/docker/compose/issues/2380 - #. Build the images. This will download over 200MB from the internet: .. code-block:: shell