Skip to content
Snippets Groups Projects
Commit b6eeb33b authored by remi-filament's avatar remi-filament
Browse files

Add -l option to useradd

parent db0e9f20
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ COPY ./ssh_known_git_hosts ~root/.ssh/known_hosts ...@@ -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 # Install Odoo and remove not French translations and .git directory to limit amount of data used by container
RUN set -x; \ 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}" &&\ /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 &&\ git clone -b 10.0 --depth 1 https://github.com/OCA/OCB.git /opt/odoo/odoo &&\
rm -rf /opt/odoo/odoo/.git &&\ rm -rf /opt/odoo/odoo/.git &&\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment