From 0983830bdd470cd1d84901b8e5ef23db3f386951 Mon Sep 17 00:00:00 2001 From: Matthew Hensley Date: Fri, 26 Jul 2024 14:51:10 -0400 Subject: [PATCH] run dos2unix against shell scripts --- docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c1df579..b7cf218 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -15,7 +15,7 @@ ENV TARGETARCH=${TARGETARCH} RUN mkdir /otel-lgtm WORKDIR /otel-lgtm -RUN yum install -y unzip jq procps +RUN yum install -y unzip jq procps dos2unix RUN curl -sOL https://dl.grafana.com/oss/release/grafana-$GRAFANA_VERSION.linux-${TARGETARCH}.tar.gz && \ tar xfz grafana-$GRAFANA_VERSION.linux-${TARGETARCH}.tar.gz && \ @@ -57,5 +57,6 @@ COPY run-tempo.sh . COPY otelcol-config.yaml . COPY run-otelcol.sh . COPY run-all.sh . +RUN find . -maxdepth 1 -type f | xargs dos2unix CMD /otel-lgtm/run-all.sh