tekton pipelines for apps
This commit is contained in:
15
apps/mariadb/mariadb-prometheus/Dockerfile
Normal file
15
apps/mariadb/mariadb-prometheus/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user