Skip to content

Commit b1ff627

Browse files
[FIX] Dockerfile: Do not mess with permissions
This should be done in the image inheriting this one
1 parent 0247be8 commit b1ff627

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,10 +231,6 @@ HEALTHCHECK CMD curl --fail http://127.0.0.1:8069/web_editor/static/src/xml/ace.
231231

232232
ENTRYPOINT ["/entrypoint.sh"]
233233

234-
# If the ownership changed during the entrypoint execution, return it back to the {ODOO_USER}
235-
RUN chown -R ${ODOO_USER}:${ODOO_USER} ${ODOO_RC}
236-
RUN chown -R ${ODOO_USER}:${ODOO_USER} ${ODOO_EXTRA_ADDONS}
237-
238234
USER ${ODOO_USER}
239235

240236
CMD ["odoo"]

resources/entrypoint.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ if [ -z "$EXTRA_ADDONS_PATHS" ]
5959
then
6060
echo "The variable \$EXTRA_ADDONS_PATHS is empty, using default addons_path"
6161
echo "addons_path = $EXTRA_ADDONS_PATHS" >> $ODOO_RC
62-
chown ${ODOO_USER}:${ODOO_USER} $ODOO_RC
6362
else
6463
echo "addons_path = $ODOO_ADDONS_BASEPATH,$EXTRA_ADDONS_PATHS" >> $ODOO_RC
6564

0 commit comments

Comments
 (0)