Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupalci_environments
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupalci_environments
Commits
f2cbf9af
Commit
f2cbf9af
authored
1 year ago
by
Andrey Postnikov
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3404084
: add pcov and xdebug
- add binutils "nm" used in docker-php-ext-enable
parent
b3a43d56
No related branches found
No related tags found
No related merge requests found
Pipeline
#152667
passed
1 year ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
php/8.3-ubuntu-apache/Dockerfile
+2
-1
2 additions, 1 deletion
php/8.3-ubuntu-apache/Dockerfile
php/8.3-ubuntu-apache/docker-php-ext-enable
+4
-1
4 additions, 1 deletion
php/8.3-ubuntu-apache/docker-php-ext-enable
with
6 additions
and
2 deletions
php/8.3-ubuntu-apache/Dockerfile
+
2
−
1
View file @
f2cbf9af
...
...
@@ -122,7 +122,7 @@ RUN set -xe &&\
cd
/
&&
rm
-fr
"
$buildDir
"
# install pecl extensions for apcu, xdebug, and yaml
RUN
pecl
install
APCu-5.1.23
yaml-2.2.3
\
RUN
pecl
install
APCu-5.1.23
pcov-1.0.11 yaml-2.2.3 xdebug-3.3.2
\
&&
\
# stript .debug files out of executables
echo '\
...
...
@@ -176,6 +176,7 @@ RUN set -xe &&\
"
&&
\
runDeps
=
"
\
apache2
\
binutils
\
bzip2
\
curl ca-certificates gnupg2
\
default-mysql-client postgresql-client sudo git sqlite3
\
...
...
This diff is collapsed.
Click to expand it.
php/8.3-ubuntu-apache/docker-php-ext-enable
+
4
−
1
View file @
f2cbf9af
...
...
@@ -58,9 +58,12 @@ if [ -z "$modules" ]; then
fi
for
module
in
$modules
;
do
if
nm
-g
"
$module
"
|
grep
-q
' zend_extension_entry$'
;
then
if
nm
-g
"
$module
"
2>/dev/null
|
grep
-q
' zend_extension_entry$'
;
then
# https://wiki.php.net/internals/extensions#loading_zend_extensions
line
=
"zend_extension=
$(
readlink
-f
"
$module
"
)
"
if
nm
-g
"
$module
"
.debug 2>/dev/null |
grep
-q
' zend_extension_entry$'
;
then
# extension can have .debug files nearby
line
=
"zend_extension=
$(
readlink
-f
"
$module
"
)
"
else
line
=
"extension=
$module
"
fi
...
...
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