Skip to content

Commit

Permalink
Fix Docker image not supporting the arm64 platform (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrproliu authored Oct 17, 2023
1 parent 52d96af commit 316433e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 316433e

Please sign in to comment.