From fd1e5938581db171b8454e9f57f772033edc5d98 Mon Sep 17 00:00:00 2001 From: David van der Spek Date: Fri, 22 Nov 2024 18:52:14 +0100 Subject: [PATCH] fix: remove zip from tar command Signed-off-by: David van der Spek --- autoinstrumentation/apache-httpd/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autoinstrumentation/apache-httpd/Dockerfile b/autoinstrumentation/apache-httpd/Dockerfile index 14d70d048d..80167f918f 100644 --- a/autoinstrumentation/apache-httpd/Dockerfile +++ b/autoinstrumentation/apache-httpd/Dockerfile @@ -1,8 +1,8 @@ ############################ -# STEP 1 download the webserver agent +# STEP 1 download the webserver agent ############################ -FROM alpine:latest as agent +FROM alpine:latest AS agent ARG version @@ -11,10 +11,10 @@ WORKDIR /opt/opentelemetry RUN mkdir agent RUN wget -c https://github.com/open-telemetry/opentelemetry-cpp-contrib/releases/download/webserver%2Fv$version/opentelemetry-webserver-sdk-x64-linux.tgz -RUN unzip -p opentelemetry-webserver-sdk-x64-linux.tgz | tar -zx -C agent +RUN tar -xvf opentelemetry-webserver-sdk-x64-linux.tgz -C agent ############################ -# STEP 2 download the webserver agent +# STEP 2 download the webserver agent ############################ FROM alpine:latest