From 74396174e4b9f7cfbdc1a9585a8936522b33b6ea Mon Sep 17 00:00:00 2001 From: Mingmin Xu Date: Sun, 4 Feb 2024 13:44:39 -0800 Subject: [PATCH] address comment --- docker/dockerfiles/artifacts/artifact.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/dockerfiles/artifacts/artifact.Dockerfile b/docker/dockerfiles/artifacts/artifact.Dockerfile index 6d65522d40b2e9..60a6eefb46cae4 100644 --- a/docker/dockerfiles/artifacts/artifact.Dockerfile +++ b/docker/dockerfiles/artifacts/artifact.Dockerfile @@ -48,7 +48,7 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends wget tar xz- ADD 'https://dtdg.co/latest-java-tracer' /datadog/dd-java-agent.jar # Get ddprof for BE profiling -RUN imagearch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \ +RUN imagearch=$(arch | sed 's/aarch64/arm64/; s/x86_64/amd64/') \ && wget --no-check-certificate "https://github.com/DataDog/ddprof/releases/download/v0.15.3/ddprof-0.15.3-${imagearch}-linux.tar.xz" -O ddprof-linux.tar.xz \ && tar xvf ddprof-linux.tar.xz && mkdir -p /datadog/ \ && mv ddprof/bin/ddprof /datadog/ \