-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
32 lines (28 loc) · 1.36 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
FROM registry.suse.com/bci/bci-base:15.4.27.14.5
# Install needed RPMs for HANA
RUN zypper --non-interactive in libatomic1 \
insserv-compat \
libnuma1 \
libaio1 \
libltdl7 \
gawk \
hostname \
unzip \
tar \
gzip \
vim \
iproute2 \
netcat
# Install promtail
RUN curl -O -L "https://github.com/grafana/loki/releases/download/v2.6.1/promtail-linux-amd64.zip"
RUN unzip promtail-linux-amd64.zip
RUN cp promtail-linux-amd64 /usr/bin/
RUN mkdir /etc/promtail
# Install node-exporter
RUN curl -O -L "https://github.com/prometheus/node_exporter/releases/download/v1.4.0/node_exporter-1.4.0.linux-amd64.tar.gz"
RUN tar xf node_exporter-1.4.0.linux-amd64.tar.gz
RUN cp node_exporter-1.4.0.linux-amd64/node_exporter /usr/bin/
# Install Blackbox exporter
RUN curl -O -L "https://github.com/prometheus/blackbox_exporter/releases/download/v0.24.0/blackbox_exporter-0.24.0.linux-amd64.tar.gz"
RUN tar xf blackbox_exporter-0.24.0.linux-amd64.tar.gz
RUN cp blackbox_exporter-0.24.0.linux-amd64/blackbox_exporter /usr/bin