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