Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
laradock
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kerwin
laradock
Commits
76da02e7
Commit
76da02e7
authored
Feb 17, 2018
by
desaroger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add PHP version checkers on all php-related dockerfiles
parent
a52a9440
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
71 additions
and
1 deletion
+71
-1
Dockerfile-56
php-fpm/Dockerfile-56
+6
-0
Dockerfile-70
php-fpm/Dockerfile-70
+6
-0
Dockerfile-71
php-fpm/Dockerfile-71
+6
-0
Dockerfile-72
php-fpm/Dockerfile-72
+6
-0
Dockerfile-70
php-worker/Dockerfile-70
+7
-0
Dockerfile-71
php-worker/Dockerfile-71
+7
-0
Dockerfile-72
php-worker/Dockerfile-72
+7
-0
travis-build.sh
travis-build.sh
+2
-1
Dockerfile-56
workspace/Dockerfile-56
+6
-0
Dockerfile-70
workspace/Dockerfile-70
+6
-0
Dockerfile-71
workspace/Dockerfile-71
+6
-0
Dockerfile-72
workspace/Dockerfile-72
+6
-0
No files found.
php-fpm/Dockerfile-56
View file @
76da02e7
...
...
@@ -329,6 +329,12 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
docker-php-ext-enable imagick \
;fi
#####################################
# Check PHP version:
#####################################
RUN php -v | head -n 1 | grep -q "PHP 5.6."
#
#--------------------------------------------------------------------------
# Final Touch
...
...
php-fpm/Dockerfile-70
View file @
76da02e7
...
...
@@ -353,6 +353,12 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
docker-php-ext-enable imagick \
;fi
#####################################
# Check PHP version:
#####################################
RUN php -v | head -n 1 | grep -q "PHP 7.0."
#
#--------------------------------------------------------------------------
# Final Touch
...
...
php-fpm/Dockerfile-71
View file @
76da02e7
...
...
@@ -360,6 +360,12 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
docker-php-ext-enable imagick \
;fi
#####################################
# Check PHP version:
#####################################
RUN php -v | head -n 1 | grep -q "PHP 7.1."
#
#--------------------------------------------------------------------------
# Final Touch
...
...
php-fpm/Dockerfile-72
View file @
76da02e7
...
...
@@ -360,6 +360,12 @@ RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
docker-php-ext-enable imagick \
;fi
#####################################
# Check PHP version:
#####################################
RUN php -v | head -n 1 | grep -q "PHP 7.2."
#
#--------------------------------------------------------------------------
# Final Touch
...
...
php-worker/Dockerfile-70
View file @
76da02e7
...
...
@@ -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."
#
#--------------------------------------------------------------------------
...
...
php-worker/Dockerfile-71
View file @
76da02e7
...
...
@@ -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."
#
#--------------------------------------------------------------------------
...
...
php-worker/Dockerfile-72
View file @
76da02e7
...
...
@@ -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.2."
#
#--------------------------------------------------------------------------
...
...
travis-build.sh
View file @
76da02e7
...
...
@@ -13,7 +13,8 @@ env | sort
if
[
-n
"
${
PHP_VERSION
}
"
]
;
then
cp
env-example .env
sed
-i
--
"s/PHP_VERSION=.*/PHP_VERSION=
${
PHP_VERSION
}
/g"
.env
sed
-i
--
's/=false/=true/g'
.env
sed
-i
--
's/=false/=false/g'
.env
sed
-i
--
's/=true/=false/g'
.env
cat
.env
docker-compose build
${
BUILD_SERVICE
}
docker images
...
...
workspace/Dockerfile-56
View file @
76da02e7
...
...
@@ -626,6 +626,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 5.6."
#
#--------------------------------------------------------------------------
# Final Touch
...
...
workspace/Dockerfile-70
View file @
76da02e7
...
...
@@ -703,6 +703,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.0."
#
#--------------------------------------------------------------------------
# Final Touch
...
...
workspace/Dockerfile-71
View file @
76da02e7
...
...
@@ -713,6 +713,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.1."
#
#--------------------------------------------------------------------------
# Final Touch
...
...
workspace/Dockerfile-72
View file @
76da02e7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment