Add PHP version checkers on all php-related dockerfiles

This commit is contained in:
desaroger committed 2018-02-17 09:26:46 +01:00
1 parent a52a944003
commit 76da02e779
12 files changed
+71 -1

No files matched your search

+7
View File
@@ -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.0."
#
#--------------------------------------------------------------------------