cabbageGG / harbor-arm64

This repo is forked form goharbor/harbor. Modified to run on arm64.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

harbor-arm64

This repo is forked form goharbor/harbor. It's based on v1.9.3 to modify.Run and tested on arm64.

Tested on Huawei Thaishan V2280H Centos 7.6.

What's Changed

  • base image changed to Photon 3.0 to support arm64.

  • BUILDBIN is set to true in Makefile

  • The ENV REGISTRY_SRC_TAG=$(REGISTRY_SRC_TAG) added to Makefile build flag

  • change ../binary/registry/ to ../binary/bin/registry in make/photon/Makefile

  • change ../binary/registry/ to ../binary/bin/registry in make/photon/registry/Dockerfile

  • change ../binary/registry/ to ../binary/bin/registry in make/photon/registryctl/Dockerfile

  • change v0.4.1/dep-linux-amd64 to v0.5.4/dep-linux-arm64 in make/photon/notary/binary.Dockerfile

  • replace dumb_init with arm64 one

  • portal images use multi-stage building but no arm surport for node.js.I simply complete the stage 1 job in x86 machine and the output dir is build_dir.

  • rebuild redis docker-library redis to avoid "Unsupported system page size" error, tested on Huawei Kunpeng920 machine.

How To Run

Clone this repo and run the command to build your own package:

make package_offline -e VERSIONTAG=v1.9.3 PKGVERSIONTAG=v1.9.3 UIVERSIONTAG=v1.9.3 DEVFLAG=false CLAIRFLAG=true

or download the release package here.

Detailed intall instructions are here.

About

This repo is forked form goharbor/harbor. Modified to run on arm64.

License:Apache License 2.0


Languages

Language:Go 58.3%Language:TypeScript 19.2%Language:HTML 7.3%Language:RobotFramework 5.8%Language:Python 5.1%Language:CSS 1.3%Language:Shell 1.2%Language:Makefile 0.5%Language:Smarty 0.5%Language:Dockerfile 0.4%Language:PLpgSQL 0.2%Language:TSQL 0.1%Language:JavaScript 0.0%Language:Mako 0.0%Language:PLSQL 0.0%