[odoo-web] odoo requires an actual user to be created



commit e09246f0fb6911e8ac6593c6e42791896d899510
Author: Andrea Veri <averi redhat com>
Date:   Thu Feb 14 10:30:46 2019 +0100

    odoo requires an actual user to be created

 Dockerfile | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/Dockerfile b/Dockerfile
index 3182e63..6a978d8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,6 +28,9 @@ RUN mv currency/currency_rate_update /opt/odoo/custom-addons
 
 RUN chown 1000230000:1000230000 -R /opt/odoo/custom-addons
 
+RUN groupadd -g 1000230000 odoo
+RUN useradd -u 1000230000 -g 1000230000 -d /var/lib/odoo -r -s /usr/sbin/nologin odoo
+
 RUN rm -rf /tmp/{bank-statement-import,currency,plaid_ept,paypal_transaction_sync}
 RUN apt-get purge git unzip python3-wheel python3-pip -y && apt-get autoremove -y
 RUN apt-get clean 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]