Skip to content

Commit cf5a39a

Browse files
committed
Quote strings in shell commands
1 parent c548739 commit cf5a39a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ COPY ./scripts /scripts
1616

1717
RUN apk --no-cache add php7 php7-fpm php7-json php7-zlib php7-xml php7-phar php7-iconv php7-mcrypt curl php7-curl php7-openssl php7-gd && \
1818
mkdir -p "$PHP_PID_DIR/" && \
19-
chown ${NGINX_RUN_USER}:${NGINX_RUN_GROUP} "$PHP_PID_DIR/" && \
20-
curl -sS https://getcomposer.org/installer | php -- --install-dir=${COMPOSER_PATH} --filename=composer && \
19+
chown "$NGINX_RUN_USER":"$NGINX_RUN_GROUP" "$PHP_PID_DIR/" && \
20+
curl -sS https://getcomposer.org/installer | php -- --install-dir="$COMPOSER_PATH" --filename=composer && \
2121
cp /conf/nginx/app.conf "$NGINX_APP_CONF_FILE" && \
2222
cp /conf/php/app-php.ini "$PHP_APP_INI_FILE" && \
2323
cp /conf/php/app-php-fpm.conf "$PHP_FPM_APP_CONF_FILE" && \

0 commit comments

Comments
 (0)