Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
remove unused TARGETARCH

Signed-off-by: Mingmin Xu <[email protected]>
  • Loading branch information
mingmxu committed Feb 4, 2024
1 parent a4fd1fc commit b7b4b66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/dockerfiles/artifacts/artifact.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,14 @@ 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/ \
&& chmod 755 /datadog/ddprof

FROM busybox:latest
ARG RELEASE_VERSION
ARG TARGETARCH

LABEL org.opencontainers.image.source="https://github.com/starrocks/starrocks"
LABEL org.starrocks.version=${RELEASE_VERSION:-"UNKNOWN"}
Expand Down

0 comments on commit b7b4b66

Please sign in to comment.