Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-ci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
UNL ITS
docker-ci
Commits
48df7ff0
Commit
48df7ff0
authored
5 years ago
by
Raul Barreras
Browse files
Options
Downloads
Patches
Plain Diff
Sync 7-add-dependency-check with develop
[skip ci]
parent
4462ec78
No related branches found
No related tags found
1 merge request
!17
Resolve "Add Dependency Check"
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
php-lint/php-lint
+2
-2
2 additions, 2 deletions
php-lint/php-lint
php-unit-test/7.1/Dockerfile
+4
-3
4 additions, 3 deletions
php-unit-test/7.1/Dockerfile
php-unit-test/7.2/Dockerfile
+2
-2
2 additions, 2 deletions
php-unit-test/7.2/Dockerfile
with
8 additions
and
7 deletions
php-lint/php-lint
+
2
−
2
View file @
48df7ff0
...
@@ -51,8 +51,8 @@ for dir in "${LINT_DIRS[@]}"; do
...
@@ -51,8 +51,8 @@ for dir in "${LINT_DIRS[@]}"; do
echo
"Scanning directory
${
dir
}
for extension
${
ext
}
"
echo
"Scanning directory
${
dir
}
for extension
${
ext
}
"
# Scan current dir and ext and lint them
# Scan current dir and ext and lint them
for
f
in
$(
find
"
${
dir
}
"
-type
f
-name
"*
${
ext
}
"
)
;
do
find
"
${
dir
}
"
-type
f
-name
"*
${
ext
}
"
-print0
|
while
IFS
=
read
-r
-d
''
f
;
do
OUTPUT
=
$(
php
-l
$f
2>&1
)
OUTPUT
=
$(
php
-l
"
$f
"
2>&1
)
rc
=
$?
rc
=
$?
if
[[
$rc
!=
0
]]
;
then
# Non-zero exit code, print error and exit
if
[[
$rc
!=
0
]]
;
then
# Non-zero exit code, print error and exit
...
...
This diff is collapsed.
Click to expand it.
php-unit-test/7.1/Dockerfile
+
4
−
3
View file @
48df7ff0
...
@@ -12,9 +12,10 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
...
@@ -12,9 +12,10 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.schema-version="1.0" \
org.label-schema.schema-version="1.0" \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN
apk add
--no-cache
bash nodejs nodejs-npm
$PHPIZE_DEPS
\
RUN
apk add
--no-cache
bash nodejs nodejs-npm libmcrypt-dev
$PHPIZE_DEPS
\
&&
pecl
install
xdebug
\
&&
pecl
install
xdebug redis
\
&&
docker-php-ext-enable xdebug
\
&&
docker-php-ext-enable xdebug redis
\
&&
docker-php-ext-install mcrypt
\
&&
apk del
--no-cache
$PHPIZE_DEPS
&&
apk del
--no-cache
$PHPIZE_DEPS
RUN
curl
-o
/usr/local/bin/composer https://getcomposer.org/composer.phar
\
RUN
curl
-o
/usr/local/bin/composer https://getcomposer.org/composer.phar
\
&&
chmod
755 /usr/local/bin/composer
&&
chmod
755 /usr/local/bin/composer
...
...
This diff is collapsed.
Click to expand it.
php-unit-test/7.2/Dockerfile
+
2
−
2
View file @
48df7ff0
...
@@ -13,8 +13,8 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
...
@@ -13,8 +13,8 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN
apk add
--no-cache
bash nodejs nodejs-npm
$PHPIZE_DEPS
\
RUN
apk add
--no-cache
bash nodejs nodejs-npm
$PHPIZE_DEPS
\
&&
pecl
install
xdebug
\
&&
pecl
install
xdebug
redis
\
&&
docker-php-ext-enable xdebug
\
&&
docker-php-ext-enable xdebug
redis
\
&&
apk del
--no-cache
$PHPIZE_DEPS
&&
apk del
--no-cache
$PHPIZE_DEPS
RUN
curl
-o
/usr/local/bin/composer https://getcomposer.org/composer.phar
\
RUN
curl
-o
/usr/local/bin/composer https://getcomposer.org/composer.phar
\
&&
chmod
755 /usr/local/bin/composer
&&
chmod
755 /usr/local/bin/composer
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment