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