fix
This commit is contained in:
@@ -14,6 +14,7 @@ RUN apt-get install -y \
|
|||||||
libmcrypt-dev \
|
libmcrypt-dev \
|
||||||
libreadline-dev \
|
libreadline-dev \
|
||||||
libfreetype6-dev \
|
libfreetype6-dev \
|
||||||
|
libssl-dev \
|
||||||
g++
|
g++
|
||||||
|
|
||||||
RUN docker-php-ext-install \
|
RUN docker-php-ext-install \
|
||||||
@@ -41,7 +42,7 @@ RUN chmod +x /usr/local/bin/composer
|
|||||||
RUN composer self-update
|
RUN composer self-update
|
||||||
|
|
||||||
COPY / /var/www/html/
|
COPY / /var/www/html/
|
||||||
# 6. we need a user with the same UID/GID with host user
|
# 6. we need a user with the same UID/GID with host user
|
||||||
# so when we execute CLI commands, all the host file's ownership remains intact
|
# so when we execute CLI commands, all the host file's ownership remains intact
|
||||||
# otherwise command from inside container will create root-owned files and directories
|
# otherwise command from inside container will create root-owned files and directories
|
||||||
ARG uid=1000
|
ARG uid=1000
|
||||||
|
|||||||
Reference in New Issue
Block a user