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
@@ -56,6 +56,13 @@ ENTRYPOINT ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisord.conf"]
|
||||
#
|
||||
# -- Your awesome modifications go here -- #
|
||||
|
||||
#
|
||||
#--------------------------------------------------------------------------
|
||||
# Check PHP version
|
||||
#--------------------------------------------------------------------------
|
||||
#
|
||||
|
||||
RUN php -v | head -n 1 | grep -q "PHP 7.1."
|
||||
|
||||
#
|
||||
#--------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user