Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
apache2-php-base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai3
docker
apache2-php-base
Commits
3e53d980
Commit
3e53d980
authored
3 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Download php-fpm-exporter via Dockerfile
parent
51291bb9
No related branches found
No related tags found
1 merge request
!4
Use S6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
build.sh
+2
-4
2 additions, 4 deletions
build.sh
with
2 additions
and
4 deletions
build.sh
+
2
−
4
View file @
3e53d980
...
...
@@ -5,7 +5,7 @@
# Packages that are only used to build the container. These will be
# removed once we're done.
BUILD_PACKAGES
=
"
ca-certificates curl
rsync"
BUILD_PACKAGES
=
"rsync"
# Packages required to serve the website and run the services.
# We have to keep the python3 packages around in order to run
...
...
@@ -34,9 +34,7 @@ set -e
apt-get
-q
update
install_packages
${
BUILD_PACKAGES
}
${
PACKAGES
}
# Install the php-fpm prometheus exporter binary (no package yet).
curl
-sL
-o
/usr/sbin/php-fpm-exporter
\
https://github.com/hipages/php-fpm_exporter/releases/download/v2.0.3/php-fpm_exporter_2.0.3_linux_amd64
# Fix permissions on the php-fpm-exporter (installed via Dockerfile).
chmod
0755 /usr/sbin/php-fpm-exporter
# Set the PHP_FPM_EXPORTER_PORT in envvars, so that it is later picked up by
...
...
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