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
30b29ca3
Commit
30b29ca3
authored
2 years ago
by
Alan Nelson
Browse files
Options
Downloads
Patches
Plain Diff
Create containers for PHP 8.2
parent
3da95c4b
Branches
Branches containing commit
No related tags found
1 merge request
!77
Develop
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+12
-6
12 additions, 6 deletions
Makefile
php-lint/8.2/Dockerfile
+21
-0
21 additions, 0 deletions
php-lint/8.2/Dockerfile
php-unit-test/8.2/Dockerfile
+25
-0
25 additions, 0 deletions
php-unit-test/8.2/Dockerfile
with
58 additions
and
6 deletions
Makefile
+
12
−
6
View file @
30b29ca3
...
...
@@ -24,8 +24,8 @@ all: php-lint php-unit-test mobile static-code-analysis utility detect-secrets d
# Image Groups
####################
php-lint
:
php-lint_5.6 php-lint_7.0 php-lint_7.1 php-lint_7.2 php-lint_7.3 php-lint_7.4 php-lint_8.0 php-lint_latest
php-unit-test
:
php-unit-test_5.6 php-unit-test_7.0 php-unit-test_7.1 php-unit-test_7.2 php-unit-test_7.3 php-unit-test_7.4 php-unit-test_8.0 php-unit-test_latest
php-lint
:
php-lint_5.6 php-lint_7.0 php-lint_7.1 php-lint_7.2 php-lint_7.3 php-lint_7.4 php-lint_8.0
php-lint_8.1 php-lint_8.2
php-lint_latest
php-unit-test
:
php-unit-test_5.6 php-unit-test_7.0 php-unit-test_7.1 php-unit-test_7.2 php-unit-test_7.3 php-unit-test_7.4 php-unit-test_8.0
php-unit-test_8.1 php-unit-test_8.2
php-unit-test_latest
mobile
:
android-build-server
static-code-analysis
:
static-code-analysis_latest static-code-analysys_php static-code-analysys_python static-code-analysys_android
utility
:
alpine-ssh-client merge-request-check
...
...
@@ -57,8 +57,11 @@ php-lint_8.0: php-lint/8.0/Dockerfile
php-lint_8.1
:
php-lint/8.1/Dockerfile
docker build
$(
BUILD_ARGS
)
-t
${
REPO_ORG
}
/php-lint:8.1
-f
php-lint/8.1/Dockerfile php-lint
php-lint_latest
:
php-lint_8.1
docker tag
${
REPO_ORG
}
/php-lint:8.1
${
REPO_ORG
}
/php-lint:latest
php-lint_8.2
:
php-lint/8.2/Dockerfile
docker build
$(
BUILD_ARGS
)
-t
${
REPO_ORG
}
/php-lint:8.2
-f
php-lint/8.2/Dockerfile php-lint
php-lint_latest
:
php-lint_8.2
docker tag
${
REPO_ORG
}
/php-lint:8.2
${
REPO_ORG
}
/php-lint:latest
# PHP Unit Test Images
####################
...
...
@@ -86,8 +89,11 @@ php-unit-test_8.0: php-unit-test/8.0/Dockerfile
php-unit-test_8.1
:
php-unit-test/8.1/Dockerfile
docker build
$(
BUILD_ARGS
)
-t
${
REPO_ORG
}
/php-unit-test:8.1
-f
php-unit-test/8.1/Dockerfile php-unit-test
php-unit-test_latest
:
php-unit-test_8.1
docker tag
${
REPO_ORG
}
/php-unit-test:8.1
${
REPO_ORG
}
/php-unit-test:latest
php-unit-test_8.2
:
php-unit-test/8.2/Dockerfile
docker build
$(
BUILD_ARGS
)
-t
${
REPO_ORG
}
/php-unit-test:8.2
-f
php-unit-test/8.2/Dockerfile php-unit-test
php-unit-test_latest
:
php-unit-test_8.2
docker tag
${
REPO_ORG
}
/php-unit-test:8.2
${
REPO_ORG
}
/php-unit-test:latest
# Mobile Applications
####################
...
...
This diff is collapsed.
Click to expand it.
php-lint/8.2/Dockerfile
0 → 100644
+
21
−
0
View file @
30b29ca3
FROM
php:8.2-alpine
ARG
BUILD_DATE
ARG
VCS_REF
ARG
VERSION
LABEL
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="PHP 8.2 linter" \
org.label-schema.description="" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vendor="University of Nebraska - Lincoln" \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0" \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN
apk add
--no-cache
bash
COPY
php-lint docker-entrypoint /usr/local/bin/
RUN
chmod
755 /usr/local/bin/docker-entrypoint /usr/local/bin/php-lint
ENTRYPOINT
["docker-entrypoint"]
CMD
["--help"]
This diff is collapsed.
Click to expand it.
php-unit-test/8.2/Dockerfile
0 → 100644
+
25
−
0
View file @
30b29ca3
FROM
php:8.2-alpine
ARG
BUILD_DATE
ARG
VCS_REF
ARG
VERSION
LABEL
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="PHP 8.2 Unit Tester" \
org.label-schema.description="" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vendor="University of Nebraska - Lincoln" \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0" \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN
export
BUILD_DEPS
=
"bzip2-dev icu-dev libpng-dev libzip-dev openldap-dev"
\
&&
apk add
--no-cache
bash nodejs npm
$PHPIZE_DEPS
$BUILD_DEPS
\
&&
pecl channel-update pecl.php.net
\
&&
pecl
install
xdebug redis
\
&&
docker-php-ext-install bz2 gd intl ldap mysqli pdo_mysql zip
\
&&
docker-php-ext-enable xdebug redis
\
&&
apk del
--no-cache
$PHPIZE_DEPS
RUN
curl
-o
/usr/local/bin/composer https://getcomposer.org/composer.phar
\
&&
chmod
755 /usr/local/bin/composer
CMD
["bash"]
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