Merge pull request #11 from goharbor/feat/e2e-support-arm feat: harbor-e2e-engine: 3.0.0-api adds support for arm architecture
Merge pull request #11 from goharbor/feat/e2e-support-arm
feat: harbor-e2e-engine: 3.0.0-api adds support for arm architecture
Build Harbor for arm architecture.
System Requirements:
On a Linux host: docker 19+ and support docker buildx
Before you build the harbor arm image, you need to check if your local environment supports docker buildx
By running the command docker buildx ls,If the result shows linux/arm64, it proves that the arm image can be built
docker buildx ls
linux/arm64
# first step: clone harbor ARM code git clone https://github.com/goharbor/harbor-arm.git # execute build command:Download harbor source code cd harbor-arm && make download # compile redis: make compile_redis # Prepare to build arm architecture image data: make prepare_arm_data # Replace build arm image parameters: make pre_update # Compile harbor components: make compile COMPILETAG=compile_golangimage # Build harbor arm image: make build GOBUILDTAGS="include_oss include_gcs" BUILDBIN=true NOTARYFLAG=true TRIVYFLAG=true CHARTFLAG=true GEN_TLS=true PULL_BASE_FROM_DOCKERHUB=false
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
harbor-arm
Build Harbor for arm architecture.
Build
System Requirements:
On a Linux host: docker 19+ and support docker buildx
Before you build the harbor arm image, you need to check if your local environment supports docker buildx
By running the command
docker buildx ls,If the result showslinux/arm64, it proves that the arm image can be builtGet Started