Skip to content

Commit c3901cd

Browse files
committed
Fix PHP version usage in Docker container
1 parent d23df86 commit c3901cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ RUN set -x && \
2424
php${PHP_VERSION}-curl \
2525
make \
2626
g++ \
27-
unzip
27+
unzip \
28+
&& \
29+
update-alternatives --install /usr/bin/php php /usr/bin/php${PHP_VERSION} 100
2830

2931
## gearman
3032
RUN set -x && \

0 commit comments

Comments
 (0)