Skip to content

Commit

Permalink
fix: remove zip from tar command
Browse files Browse the repository at this point in the history
Signed-off-by: David van der Spek <[email protected]>
  • Loading branch information
davidspek committed Nov 22, 2024
1 parent 8ac53a1 commit fd1e593
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions autoinstrumentation/apache-httpd/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand Down

0 comments on commit fd1e593

Please sign in to comment.