no more dockerfile, we're podmanning now :)

This commit is contained in:
2021-02-10 14:58:10 +01:00
parent b91ea42a41
commit 1cc1de7ed8
11 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
# vim:set ft=dockerfile:
FROM debian:buster-slim
RUN set -ex; \
apt-get update; \
apt-get install -y --no-install-recommends \
prometheus-mysqld-exporter; \
apt-get clean -y; \
rm -rf /var/lib/apt/lists/*;
RUN set -ex; \
echo '[client]\nhost=localhost\nuser=prometheus\npassword=prom01\n' >/etc/prometheus-mysql-exporter
EXPOSE 9104
CMD ["prometheus-mysqld-exporter", "--config.my-cnf", "/etc/prometheus-mysql-exporter"]