From f1949b5d27e3d199dde229dcd5fb6805f63fefda Mon Sep 17 00:00:00 2001 From: Palumbo <30956774+barbara79@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:33:41 +0100 Subject: [PATCH] removed something that was not need it anymore --- .../symfony-app-dynatrace/docker/php/Dockerfile.dynatrace | 8 -------- 1 file changed, 8 deletions(-) diff --git a/examples/symfony-app-dynatrace/docker/php/Dockerfile.dynatrace b/examples/symfony-app-dynatrace/docker/php/Dockerfile.dynatrace index 22c2c158bfa..d35b9fa41f5 100644 --- a/examples/symfony-app-dynatrace/docker/php/Dockerfile.dynatrace +++ b/examples/symfony-app-dynatrace/docker/php/Dockerfile.dynatrace @@ -8,12 +8,7 @@ RUN apt-get update \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* -# Copy Dynatrace Code Modules -ARG DYNATRACE_URL -ARG DT_API_TOKEN - # Set environment variables for Dynatrace -# ENV LD_PRELOAD /opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so ENV DYNATRACE_URL="${DYNATRACE_URL}" ENV DT_API_TOKEN="${DT_API_TOKEN}" ENV DT_SERVICE_NAME="PHP-SDK" @@ -24,14 +19,11 @@ ARG DT_API_TOKEN="${DT_API_TOKEN}" ARG DT_ONEAGENT_OPTIONS="flavor=default" ENV DT_HOME="/opt/dynatrace/oneagent" # Download and install Dynatrace OneAgent - RUN mkdir -p "$DT_HOME" && \ wget -O "$DT_HOME/oneagent.zip" "$DT_API_URL/v1/deployment/installer/agent/unix/paas/latest?Api-Token=$DT_API_TOKEN&$DT_ONEAGENT_OPTIONS" && \ unzip -d "$DT_HOME" "$DT_HOME/oneagent.zip" && \ rm "$DT_HOME/oneagent.zip" - - # Set the working directory WORKDIR /var/www/symfony