adding --no-log-init for large UID

Fixing docker build crash with high user id. see https://github.com/moby/moby/issues/5419
This commit is contained in:
JohannesM 2021-02-04 23:23:44 +01:00 committed by GitHub
parent e2d2e9db9e
commit 1a632c82d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ RUN set -xe; \
apt-get update -yqq && \ apt-get update -yqq && \
pecl channel-update pecl.php.net && \ pecl channel-update pecl.php.net && \
groupadd -g ${PGID} laradock && \ groupadd -g ${PGID} laradock && \
useradd -u ${PUID} -g laradock -m laradock -G docker_env && \ useradd -l -u ${PUID} -g laradock -m laradock -G docker_env && \
usermod -p "*" laradock -s /bin/bash && \ usermod -p "*" laradock -s /bin/bash && \
apt-get install -yqq \ apt-get install -yqq \
apt-utils \ apt-utils \