You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2024/10/04 11:54:30 UTC
(couchdb-docker) 01/01: fix: do not create an extra layer just for the chown
This is an automated email from the ASF dual-hosted git repository.
jan pushed a commit to branch fix/nouveau/chmod
in repository https://gitbox.apache.org/repos/asf/couchdb-docker.git
commit 5ff2c69df1cf1d0c8fa39e5dce4d37f18d8caefd
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Fri Oct 4 13:54:15 2024 +0200
fix: do not create an extra layer just for the chown
---
3.4.1-nouveau/Dockerfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/3.4.1-nouveau/Dockerfile b/3.4.1-nouveau/Dockerfile
index b07d77a..648dc51 100644
--- a/3.4.1-nouveau/Dockerfile
+++ b/3.4.1-nouveau/Dockerfile
@@ -71,9 +71,10 @@ RUN set -eux; \
\
echo "couchdb-nouveau couchdb-nouveau/enable select false" | debconf-set-selections; \
DEBIAN_FRONTEND=noninteractive COUCHDB_NOUVEAU_ENABLE=1 apt-get install -y --allow-downgrades --allow-remove-essential --allow-change-held-packages --no-install-recommends \
- couchdb-nouveau=3.4.1~bookworm;
+ couchdb-nouveau=3.4.1~bookworm; \
+ rm -rf /var/lib/apt/lists/*; \
+ chown -R nouveau:nouveau /opt/nouveau
-RUN chown -R nouveau:nouveau /opt/nouveau
COPY --chown=nouveau:nouveau nouveau.yaml /opt/nouveau/etc/nouveau.yaml
VOLUME /opt/nouveau/data