From 8b111eeb8d64a02479b22f9c4ce21b2a018a89b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20-=20Le=20Filament?= <theo@le-filament.com> Date: Tue, 24 Sep 2024 10:42:14 +0200 Subject: [PATCH] change(Dockerfile): no longer chroot odoo directory to root user --- templates/Dockerfile.j2 | 3 --- 1 file changed, 3 deletions(-) diff --git a/templates/Dockerfile.j2 b/templates/Dockerfile.j2 index 7160e96..2113740 100644 --- a/templates/Dockerfile.j2 +++ b/templates/Dockerfile.j2 @@ -17,9 +17,6 @@ COPY ./ssh_config /root/.ssh/config COPY ./id_rsa /root/.ssh/ {% endif %} -# Change files owner to solve a Docker error when copying (`failed to copy directory: Container ID <id> cannot be mapped to a host ID`). -RUN chown -R root:root /opt/odoo - # Add addons. ARG SAVE_COMMITS_FILENAME='custom_addons' RUN echo 'info: getting Odoo modules...' \ -- GitLab