From patchwork Wed Feb 12 03:36:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Bulwahn X-Patchwork-Id: 1236610 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48HQL812cJz9sP7 for ; Wed, 12 Feb 2020 14:36:48 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=NpjVuHei; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48HQL80CYqzDqKl for ; Wed, 12 Feb 2020 14:36:48 +1100 (AEDT) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2a00:1450:4864:20::542; helo=mail-ed1-x542.google.com; envelope-from=lukas.bulwahn@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=NpjVuHei; dkim-atps=neutral Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48HQKn6rhRzDqLD for ; Wed, 12 Feb 2020 14:36:29 +1100 (AEDT) Received: by mail-ed1-x542.google.com with SMTP id m13so728758edb.6 for ; Tue, 11 Feb 2020 19:36:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=22EKM86OoJJ9vb4YDW8G12jpofaeW7lEugTCW+qJ+kc=; b=NpjVuHei98xp4wofouotALHoEogcF55QHv1upFIFqTk/T3CVpXj8V71MQHi4GuS4nj 7uKLDDNlMg3eQxo7IlK5yH+wuG68xEcxbrPUac9/X6PtqvyJ8WLNJWlNpmSM/9+dKOuU n6HbldDhBaZNamVjw7M9rWxqfmFbaGTdqXBRncOC0UfcxY6ifIbo1pXRyobMxaN826C5 2qGq8nxHX1jHx5sJcQXMvPOAEoQNbl35XatENOOyGKD21nRvtuYK8hquLUg1uafxx3KT AMrWcsMp2XCJyRtUq+qgMllQDsaMDNFFVg+/v2P77BKMzvg5rjRb/doetPcuHiNX5ls8 GMpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=22EKM86OoJJ9vb4YDW8G12jpofaeW7lEugTCW+qJ+kc=; b=TYryHtuBxg2B/rA2KRE9gJBRQkJ1rGU7SxYbHBvZvHr7V91tmg1McwgFCAw2JZgPle tC0ndG/gSO4Mt4H8BtzA8CPQhKCJYDJ047E9PCTyUFQb+7vm5wcJlqsn+pO+/b9k7FUp 9HR5AGi+olfldW1uB8vU8z1NDauq1TZfH46T88Ui9PVdtHBZb7cIDu7Uq0N3+BFmwGi8 Dt+njNC4tXZWjpoUgApqnfScHpjr8PjAaADmHzJ+qaWpSffQdLy/mtuJoJ2W62aljr1Y XqPvTzr1qOKWs9fbmTwN5E7BMQc0evmPerZK+1dJp+6mz04MZ07SCXi1KrcK5j4vU7LT u39Q== X-Gm-Message-State: APjAAAW5Ie21OQGaEb3J3ekUUDDZYt45l+RAR6sXVBavjeb8eyMWzo6G 7TcQIo+Kds7t3pgixRmFDKOjgcLj X-Google-Smtp-Source: APXvYqzrwfEAoR8IDa8VyyYEve8daXGNqcp9cf0hlB3IXV5KxvJYV3k3CejfOLFXQGEA6iUtw6kZvQ== X-Received: by 2002:a17:906:82d6:: with SMTP id a22mr9320152ejy.242.1581478586678; Tue, 11 Feb 2020 19:36:26 -0800 (PST) Received: from felia.fritz.box ([2001:16b8:2de5:4e00:3dd6:c3c4:1a9:9c2b]) by smtp.gmail.com with ESMTPSA id ly13sm509828ejb.22.2020.02.11.19.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 19:36:26 -0800 (PST) From: Lukas Bulwahn To: patchwork@lists.ozlabs.org, Pranav Annam Subject: [PATCH v2] docs: set the GID in the .env file Date: Wed, 12 Feb 2020 04:36:14 +0100 Message-Id: <20200212033614.11765-1-lukas.bulwahn@gmail.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" From: Pranav Annam The .env file needs the UID and GID for a working docker-compose build. If you follow the current instructions, the docker build fails with a clear error message: 'You must define GID in .env' It is still good to update documentation to reduce the burden on new contributors to run into this build failure first. Signed-off-by: Pranav Annam [simply provide bash command in docs, reworked commit message] Signed-off-by: Lukas Bulwahn --- docs/development/installation.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/development/installation.rst b/docs/development/installation.rst index 03ad67a..0a6e71c 100644 --- a/docs/development/installation.rst +++ b/docs/development/installation.rst @@ -25,11 +25,12 @@ configure Patchwork using Docker: #. Install `docker`_ and `docker-compose`_. #. Create a ``.env`` file in the root directory of the project and store your - ``UID`` attribute there. + ``UID`` and ``GID`` attribute there. .. code-block:: shell $ echo "UID=$UID" > .env + $ echo "GID=`id -g`" >> .env #. Build the images. This will download over 200MB from the internet: