7861c7759a
* chore(deps): update alpine docker tag to v3.12 (#112) * chore(deps): bump github.com/sirupsen/logrus from 1.5.0 to 1.7.0 (#109) Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) from 1.5.0 to 1.7.0. - [Release notes](https://github.com/sirupsen/logrus/releases) - [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md) - [Commits](https://github.com/sirupsen/logrus/compare/v1.5.0...v1.7.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: J0WI <J0WI@users.noreply.github.com> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
21 lines
757 B
Docker
21 lines
757 B
Docker
FROM alpine:3.12
|
|
|
|
ARG BUILD_DATE
|
|
ARG VCS_REF
|
|
ARG VERSION
|
|
|
|
COPY php-fpm_exporter /
|
|
|
|
EXPOSE 9253
|
|
ENTRYPOINT [ "/php-fpm_exporter", "server" ]
|
|
|
|
LABEL org.label-schema.build-date=$BUILD_DATE \
|
|
org.label-schema.name="php-fpm_exporter" \
|
|
org.label-schema.description="A prometheus exporter for PHP-FPM." \
|
|
org.label-schema.url="https://hipages.com.au/" \
|
|
org.label-schema.vcs-ref=$VCS_REF \
|
|
org.label-schema.vcs-url="https://github.com/hipages/php-fpm_exporter" \
|
|
org.label-schema.vendor="hipages" \
|
|
org.label-schema.version=$VERSION \
|
|
org.label-schema.schema-version="1.0" \
|
|
org.label-schema.docker.cmd="docker run -it --rm -e PHP_FPM_SCRAPE_URI=\"tcp://127.0.0.1:9000/status\" hipages/php-fpm_exporter"
|