Skip to content

Commit

Permalink
[Agent] update build env
Browse files Browse the repository at this point in the history
update build env
  • Loading branch information
Nick-0314 committed Oct 10, 2023
1 parent f3f667f commit a956e91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/agent-build-rust-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
file: agent/docker/DockerfileToFix-aarch64.build
platforms: linux/arm64
tags: |
"ghcr.io/${{ github.repository_owner }}/rust-build:1.23-arm64"
"ghcr.io/${{ github.repository_owner }}/rust-build:1.24-arm64"
"ghcr.io/${{ github.repository_owner }}/rust-build:latest-arm64"
"${{ secrets.REGISTRY_ALIYUN_ADDR }}/public/rust-build:1.23-arm64"
"${{ secrets.REGISTRY_ALIYUN_ADDR }}/public/rust-build:1.24-arm64"
"${{ secrets.REGISTRY_ALIYUN_ADDR }}/public/rust-build:latest-arm64"
4 changes: 4 additions & 0 deletions agent/docker/DockerfileToFix-aarch64.build
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ RUN cd /usr/aarch64-linux-musl/lib64 && \
curl https://deepflow-ce.oss-cn-beijing.aliyuncs.com/pkg/compile/aarch64/libjattach.a --silent -o /usr/lib64/libjattach.a && \
chmod 755 /usr/lib64/libjattach.a

RUN curl https://mirrors.cloud.tencent.com/AndroidSDK/android-ndk-r26-linux.zip --silent -o /opt/android-ndk-r26-linux.zip && \
cd /opt/ && \
unzip android-ndk-r26-linux.zip && \
rustup target install aarch64-linux-android

RUN rustup target add aarch64-unknown-linux-musl
# rust uses dependency cache
Expand Down

0 comments on commit a956e91

Please sign in to comment.