[docker] fix /etc/cubicweb.d not writable by cubicweb user
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 05 Mar 2020 17:23:42 +0100
changeset 135 593655d916c4
parent 134 ace430a0d133
child 136 ecb358a1681c
[docker] fix /etc/cubicweb.d not writable by cubicweb user
Dockerfile
--- a/Dockerfile	Thu Mar 05 17:18:27 2020 +0100
+++ b/Dockerfile	Thu Mar 05 17:23:42 2020 +0100
@@ -5,6 +5,7 @@
 RUN pip install -r /src/docker/requirements.txt
 RUN cp /src/docker/pyramid.ini.j2 /pyramid.ini.j2
 RUN install -d -o cubicweb -g cubicweb /etc/cubicweb.d/fresh/bfss
+RUN chown -R cubicweb: /etc/cubicweb.d
 USER cubicweb
 ENV WITH_TRUSTEDAUTH=false
 ENV CW_INSTANCE=fresh