Skip to content

Commit d92e45f

Browse files
committed
missing php package & incorrect variable in config file fixed
1 parent 4e8d549 commit d92e45f

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

Diff for: Dockerfile.aarch64

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ apk add --no-cache \
2727
php7-mysqlnd \
2828
php7-tidy \
2929
php7-simplexml \
30+
php7-ctype \
3031
tar && \
3132

3233
echo "**** configure php-fpm to pass env vars ****" && \

Diff for: Dockerfile.amd64

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ apk add --no-cache \
2424
php7-mysqlnd \
2525
php7-tidy \
2626
php7-simplexml \
27+
php7-ctype \
2728
tar && \
2829

2930
echo "**** configure php-fpm to pass env vars ****" && \

Diff for: Dockerfile.armhf

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ apk add --no-cache \
2727
php7-mysqlnd \
2828
php7-tidy \
2929
php7-simplexml \
30+
php7-ctype \
3031
tar && \
3132

3233
echo "**** configure php-fpm to pass env vars ****" && \

Diff for: root/etc/cont-init.d/50-config

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ sed -i "s/DB_HOST=localhost/DB_HOST=${DB_HOST}/g" /var/www/html/.env
3434

3535
sed -i "s/DB_DATABASE=database_database/DB_DATABASE=${DB_DATABASE}/g" /var/www/html/.env
3636

37-
sed -i "s/DB_USERNAME=database_username/DB_USER=${DB_USER}/g" /var/www/html/.env
37+
sed -i "s/DB_USERNAME=database_username/DB_USERNAME=${DB_USER}/g" /var/www/html/.env
3838

3939
sed -i "s/DB_PASSWORD=database_user_password/DB_PASSWORD=${DB_PASS}/g" /var/www/html/.env
4040

0 commit comments

Comments
 (0)