php-fpm-exporter/Dockerfile
dependabot[bot] e8e252600b
chore(deps): bump alpine from 3.16.2 to 3.17.1 (#277)
Bumps alpine from 3.16.2 to 3.17.1.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-10 14:05:22 +00:00

21 lines
759 B
Docker

FROM alpine:3.17.1
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"