Add PHP version checkers on all php-related dockerfiles
This commit is contained in:
1 parent
a52a944003
commit
76da02e779
12 files changed
+71
-1
No files matched your search
@@ -704,6 +704,12 @@ RUN if [ ${INSTALL_DUSK_DEPS} = true ]; then \
|
||||
&& rm chromedriver_linux64.zip \
|
||||
;fi
|
||||
|
||||
#####################################
|
||||
# Check PHP version:
|
||||
#####################################
|
||||
|
||||
RUN php -v | head -n 1 | grep -q "PHP 7.2."
|
||||
|
||||
#
|
||||
#--------------------------------------------------------------------------
|
||||
# Final Touch
|
||||
|
||||
Reference in new issue
Block a user