From 59e2d7fc1700812c05b328c0859b74c97c38f491 Mon Sep 17 00:00:00 2001 From: Amirhossein Barati Date: Thu, 15 Feb 2024 12:44:30 +0330 Subject: [PATCH] fix: node exporter bug --- broker/Dockerfile | 2 +- gateway/Dockerfile | 2 +- zookeeper/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/broker/Dockerfile b/broker/Dockerfile index 3cdcb2a..00aca04 100644 --- a/broker/Dockerfile +++ b/broker/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get install wget -y RUN wget https://github.com/prometheus/node_exporter/releases/download/v1.3.1/node_exporter-1.3.1.linux-amd64.tar.gz RUN tar xvf node_exporter-1.3.1.linux-amd64.tar.gz RUN cd node_exporter-1.3.1.linux-amd64 -RUN ./node_exporter +RUN bash -c "/app/node_exporter-1.3.1.linux-amd64/node_exporter &" COPY requirements.txt requirements.txt diff --git a/gateway/Dockerfile b/gateway/Dockerfile index c5a4afa..cd9dfe7 100644 --- a/gateway/Dockerfile +++ b/gateway/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get install wget -y RUN wget https://github.com/prometheus/node_exporter/releases/download/v1.3.1/node_exporter-1.3.1.linux-amd64.tar.gz RUN tar xvf node_exporter-1.3.1.linux-amd64.tar.gz RUN cd node_exporter-1.3.1.linux-amd64 -RUN ./node_exporter +RUN bash -c "/app/node_exporter-1.3.1.linux-amd64/node_exporter &" COPY requirements.txt requirements.txt diff --git a/zookeeper/Dockerfile b/zookeeper/Dockerfile index 610a47e..713b63f 100644 --- a/zookeeper/Dockerfile +++ b/zookeeper/Dockerfile @@ -6,7 +6,7 @@ RUN apt-get update && apt-get install wget -y RUN wget https://github.com/prometheus/node_exporter/releases/download/v1.3.1/node_exporter-1.3.1.linux-amd64.tar.gz RUN tar xvf node_exporter-1.3.1.linux-amd64.tar.gz RUN cd node_exporter-1.3.1.linux-amd64 -RUN ./node_exporter +RUN bash -c "/app/node_exporter-1.3.1.linux-amd64/node_exporter &" COPY requirements.txt requirements.txt