diff --git a/assets/alpine-base-install.sh b/assets/alpine-base-install.sh index 245f856..1611ecf 100755 --- a/assets/alpine-base-install.sh +++ b/assets/alpine-base-install.sh @@ -9,7 +9,11 @@ apk --no-cache add -U \ php-common php-iconv php-gd mariadb-client sudo libjpeg libxml2 \ build-base linux-headers freetype-dev zlib-dev libjpeg-turbo-dev \ libpng-dev oniguruma-dev libzip-dev icu-dev libmcrypt-dev libxml2-dev \ - openssh-client libcap + openssh-client libcap shadow + +# Help mapping to Linux users' host +usermod -u 1000 www-data +groupmod -g 1000 www-data # Configure php-fpm and nginx /tmp/php-configuration.sh diff --git a/assets/debian-base-install.sh b/assets/debian-base-install.sh index ac48956..dfade5e 100755 --- a/assets/debian-base-install.sh +++ b/assets/debian-base-install.sh @@ -55,6 +55,10 @@ apt-get install --no-install-recommends -qqy \ libmcrypt-dev \ "$LIB_XML_DEV" +# Help mapping to Linux users' host +usermod -u 1000 www-data +groupmod -g 1000 www-data + # Configure php-fpm and nginx /tmp/php-configuration.sh rm -rf /var/log/php* /etc/php*/php-fpm.conf /etc/php*/php-fpm.d