Fixed entrypoint permission
This commit is contained in:
parent
e8af87d5b3
commit
5d1d47aa7e
|
@ -33,7 +33,7 @@ RUN /bin/mkdir -p /app ; \
|
||||||
php${PHP_VER_SHORT} php${PHP_VER_SHORT}-common \
|
php${PHP_VER_SHORT} php${PHP_VER_SHORT}-common \
|
||||||
php${PHP_VER_SHORT}-cli php${PHP_VER_SHORT}-phar \
|
php${PHP_VER_SHORT}-cli php${PHP_VER_SHORT}-phar \
|
||||||
php${PHP_VER_SHORT}-iconv php${PHP_VER_SHORT}-mbstring ; \
|
php${PHP_VER_SHORT}-iconv php${PHP_VER_SHORT}-mbstring ; \
|
||||||
/bin/chmod +x /tmp/setup.sh /usr/local/bin/entrypoint.sh /usr/local/bin/composer; \
|
/bin/chmod +rx /tmp/setup.sh /usr/local/bin/entrypoint.sh /usr/local/bin/composer; \
|
||||||
/bin/sh /tmp/setup.sh; \
|
/bin/sh /tmp/setup.sh; \
|
||||||
/bin/rm -f /tmp/*.sh;
|
/bin/rm -f /tmp/*.sh;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ APP_ROOT="$SERVER_ROOT/htdocs"
|
||||||
LOG_LEVEL="info"
|
LOG_LEVEL="info"
|
||||||
|
|
||||||
/usr/sbin/addgroup -g 10000 php ;
|
/usr/sbin/addgroup -g 10000 php ;
|
||||||
/usr/sbin/adduser -D -u 10000 -G php -s /bin/sh -h $APP_ROOT php ;
|
/usr/sbin/adduser -D -u 10000 -G php -s /bin/sh -h $SERVER_ROOT php ;
|
||||||
|
|
||||||
# Setup php flavor
|
# Setup php flavor
|
||||||
if [[ "$FLAVOR" == "debug" ]]; then
|
if [[ "$FLAVOR" == "debug" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue