From 9f0dcdf3947605e7837a4163ee044594a98aad8f Mon Sep 17 00:00:00 2001 From: Andy Lake Date: Wed, 30 Aug 2023 16:50:14 -0700 Subject: [PATCH] Clearing out pipelines.yml in docker image round 2 --- perfsonar-logstash/perfsonar-logstash/docker/Dockerfile | 2 +- .../perfsonar-logstash/docker/Dockerfile-prometheus | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perfsonar-logstash/perfsonar-logstash/docker/Dockerfile b/perfsonar-logstash/perfsonar-logstash/docker/Dockerfile index 91f13a0..e1b8521 100644 --- a/perfsonar-logstash/perfsonar-logstash/docker/Dockerfile +++ b/perfsonar-logstash/perfsonar-logstash/docker/Dockerfile @@ -11,7 +11,7 @@ USER root RUN apt-get update -y && apt-get install -y python3 python3-yaml #make config look like non-docker so scripts work RUN mkdir /etc/logstash &&\ - echo "" > /usr/share/logstash/config/pipelines.yml &&\ + echo "[]" > /usr/share/logstash/config/pipelines.yml &&\ ln -s /usr/share/logstash/config/pipelines.yml /etc/logstash/pipelines.yml USER logstash diff --git a/perfsonar-logstash/perfsonar-logstash/docker/Dockerfile-prometheus b/perfsonar-logstash/perfsonar-logstash/docker/Dockerfile-prometheus index 393742c..025b998 100644 --- a/perfsonar-logstash/perfsonar-logstash/docker/Dockerfile-prometheus +++ b/perfsonar-logstash/perfsonar-logstash/docker/Dockerfile-prometheus @@ -17,7 +17,7 @@ RUN cd /usr/lib/perfsonar/logstash/java &&\ #make config look like non-docker so scripts work RUN mkdir /etc/logstash &&\ - echo "" > /usr/share/logstash/config/pipelines.yml &&\ + echo "[]" > /usr/share/logstash/config/pipelines.yml &&\ ln -s /usr/share/logstash/config/pipelines.yml /etc/logstash/pipelines.yml USER logstash