tekton pipelines for apps

This commit is contained in:
2021-02-18 21:42:24 +01:00
parent c918c39e6e
commit 0e79b36875
11 changed files with 231 additions and 89 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"]