Created
June 30, 2022 15:17
-
-
Save y1zhou/7d7c1b98009a34cf094a6635199136c3 to your computer and use it in GitHub Desktop.
EasyConnect Docker build script for M1 Macs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone -b thread_reuse https://github.com/hagb/docker-easyconnect.git | |
cd docker-easyconnect | |
git submodule update --init --recursive | |
docker image build -f Dockerfile.compile -t compile . | |
EC_VER=7.6.7 # 替换成需要的版本 | |
DOCKER_USERNAME="your-name" | |
docker image build \ | |
--build-arg EC_URL=$(cat ec_urls/${EC_VER}.txt) \ | |
-t "${DOCKER_USERNAME}/docker-easyconnect:${EC_VER}-aarch64" \ | |
-f Dockerfile . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment