diff --git a/CHANGES.md b/CHANGES.md index 03214fed..64a747dc 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,7 @@ Release Notes. * Add `Tracing APIs` document into `Manual APIs`. #### Bug Fixes +* Fix Docker image not supporting the `arm64` platform. #### Issues and PR - All issues are [here](https://github.com/apache/skywalking/milestone/189?closed=1) diff --git a/Dockerfile b/Dockerfile index b5e3b31f..1ed427aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,9 +22,12 @@ ARG BASE_BUILDER_IMAGE='golang:1.18' FROM ${BASE_BUILDER_IMAGE} as builder # Go Agent Version ARG VERSION +# Current ARCH +ARG TARGETARCH + WORKDIR /skywalking-go COPY . . -RUN VERSION=$VERSION make -C tools/go-agent linux +RUN VERSION=$VERSION ARCH=$TARGETARCH make -C tools/go-agent linux FROM ${BASE_GO_IMAGE}