Skip to content

Commit

Permalink
removed something that was not need it anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
barbara79 committed Nov 8, 2024
1 parent 198f05e commit f1949b5
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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

Expand Down

0 comments on commit f1949b5

Please sign in to comment.