Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
EasyConnect Docker build script for M1 Macs
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