From b6eeb33b1763c3ede77266027f35c985540252b6 Mon Sep 17 00:00:00 2001
From: remi-filament <30716308+remi-filament@users.noreply.github.com>
Date: Mon, 23 Dec 2019 14:04:45 +0100
Subject: [PATCH] Add -l option to useradd

---
 10.0.Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/10.0.Dockerfile b/10.0.Dockerfile
index ef13cda..6b9b851 100644
--- a/10.0.Dockerfile
+++ b/10.0.Dockerfile
@@ -56,7 +56,7 @@ COPY ./ssh_known_git_hosts ~root/.ssh/known_hosts
 
 # Install Odoo and remove not French translations and .git directory to limit amount of data used by container
 RUN set -x; \
-        useradd --create-home --home-dir /opt/odoo --no-log-init odoo &&\
+        useradd -l --create-home --home-dir /opt/odoo --no-log-init odoo &&\
         /bin/bash -c "mkdir -p /opt/odoo/{etc,odoo,additional_addons,private_addons,data,private}" &&\
         git clone -b 10.0 --depth 1 https://github.com/OCA/OCB.git /opt/odoo/odoo &&\
         rm -rf /opt/odoo/odoo/.git &&\
-- 
GitLab