Skip to content
Snippets Groups Projects
Commit 3e53d980 authored by ale's avatar ale
Browse files

Download php-fpm-exporter via Dockerfile

parent 51291bb9
No related branches found
No related tags found
1 merge request!4Use S6
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment