We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
做以下修改: 一、Dockerfile: ./configure --prefix=/usr && 修改为如下: ./configure --build=aarch64-unknown-linux-gnu --prefix=/usr && \
二、build.sh docker build -f Dockerfile -t ${DOCKER_NAME}:${TAG1} -t ${DOCKER_NAME}:${TAG2} . 修改为: docker buildx build --platform linux/arm64 -f Dockerfile -t ${DOCKER_NAME}:${TAG1} -t ${DOCKER_NAME}:${TAG2} .
注意:如果是Mysql8+,为了避免连接报错,需要在Dockerfile中增加:pip install cryptography && \
The text was updated successfully, but these errors were encountered:
No branches or pull requests
做以下修改:
一、Dockerfile:
./configure --prefix=/usr &&
修改为如下:
./configure --build=aarch64-unknown-linux-gnu --prefix=/usr && \
二、build.sh
docker build -f Dockerfile -t ${DOCKER_NAME}:${TAG1} -t ${DOCKER_NAME}:${TAG2} .
修改为:
docker buildx build --platform linux/arm64 -f Dockerfile -t ${DOCKER_NAME}:${TAG1} -t ${DOCKER_NAME}:${TAG2} .
注意:如果是Mysql8+,为了避免连接报错,需要在Dockerfile中增加:pip install cryptography && \
The text was updated successfully, but these errors were encountered: