File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
examples/symfony-app-dynatrace/docker/php Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,7 @@ RUN apt-get update \
88 && apt-get clean \
99 && rm -rf /var/lib/apt/lists/*
1010
11- # Copy Dynatrace Code Modules
12- ARG DYNATRACE_URL
13- ARG DT_API_TOKEN
14-
1511# Set environment variables for Dynatrace
16- # ENV LD_PRELOAD /opt/dynatrace/oneagent/agent/lib64/liboneagentproc.so
1712ENV DYNATRACE_URL="${DYNATRACE_URL}"
1813ENV DT_API_TOKEN="${DT_API_TOKEN}"
1914ENV DT_SERVICE_NAME="PHP-SDK"
@@ -24,14 +19,11 @@ ARG DT_API_TOKEN="${DT_API_TOKEN}"
2419ARG DT_ONEAGENT_OPTIONS="flavor=default"
2520ENV DT_HOME="/opt/dynatrace/oneagent"
2621# Download and install Dynatrace OneAgent
27-
2822RUN mkdir -p "$DT_HOME" && \
2923 wget -O "$DT_HOME/oneagent.zip" "$DT_API_URL/v1/deployment/installer/agent/unix/paas/latest?Api-Token=$DT_API_TOKEN&$DT_ONEAGENT_OPTIONS" && \
3024 unzip -d "$DT_HOME" "$DT_HOME/oneagent.zip" && \
3125 rm "$DT_HOME/oneagent.zip"
3226
33-
34-
3527# Set the working directory
3628WORKDIR /var/www/symfony
3729
You can’t perform that action at this time.
0 commit comments