From 27165e6fae0fa0f67814adda9a788f547e4c2d0f Mon Sep 17 00:00:00 2001 From: dienteperro Date: Thu, 1 Mar 2018 18:37:41 -0500 Subject: [PATCH] chmod entrypoint.sh to make it executable Did this in order to avoid the following error from appears when the "entrypoint.sh" file has not set the executable attributes. Error that appears if entrypoint.sh is not executable: docker: Error response from daemon: OCI runtime create failed: container_linux.go:296: starting container process caused "exec: \"/entrypoint.sh\": permission denied": unknown. --- 9.0/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/9.0/Dockerfile b/9.0/Dockerfile index 52c3cf9..9b2f254 100644 --- a/9.0/Dockerfile +++ b/9.0/Dockerfile @@ -34,6 +34,7 @@ RUN set -x; \ # Copy entrypoint script and Odoo configuration file COPY ./entrypoint.sh / +RUN chmod 755 /entrypoint.sh COPY ./openerp-server.conf /etc/odoo/ RUN chown odoo /etc/odoo/openerp-server.conf