From 66ee2b07f4da0b8d56b59413668633d8e16bbd92 Mon Sep 17 00:00:00 2001 From: linchar Date: Tue, 3 Aug 2021 16:45:55 -0600 Subject: [PATCH] Latest dotnet sample app requires newer version of the AppD agent. Updated the project to use 21.7.0 version of dotnet-core-agent. --- appdynamics.auto.tfvars | 2 +- template/app.json.tpl | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/appdynamics.auto.tfvars b/appdynamics.auto.tfvars index f94185c..ea1a8cd 100644 --- a/appdynamics.auto.tfvars +++ b/appdynamics.auto.tfvars @@ -15,5 +15,5 @@ APPDYNAMICS_GLOBAL_ACCOUNT_NAME = "fieldlabs_66c17af8-fcc7-4c41-a7a7-f7 CORECLR_ENABLE_PROFILING = "1" CORECLR_PROFILER = "{57e1aa68-2229-41aa-9931-a6e93bbc64d8}" CORECLR_PROFILER_PATH = "/opt/appdynamics-agent/dotnet/libappdprofiler.so" -APPDYNAMICS_AGENT_IMAGE = "appdynamics/dotnet-core-agent:20.7.0" +APPDYNAMICS_AGENT_IMAGE = "appdynamics/dotnet-core-agent:21.7.0" APPDYNAMICS_AGENT_CONTAINER_NAME = "AppDynamicsAgentContainer" diff --git a/template/app.json.tpl b/template/app.json.tpl index 004491a..4bda5b4 100644 --- a/template/app.json.tpl +++ b/template/app.json.tpl @@ -94,9 +94,7 @@ "Image": "${APPDYNAMICS_AGENT_IMAGE}", "Essential": false, "Command": [ - "/bin/sh", - "-c", - "cp -r /opt/appdynamics/. /opt/temp" + "/opt/temp" ], "mountPoints": [ {