添加 README 文件

This commit is contained in:
2024-10-31 17:18:36 +08:00
parent 1c13043083
commit e435e2dfde
2 changed files with 23 additions and 11 deletions

6
README.md Normal file
View File

@@ -0,0 +1,6 @@
## 镜像的构建
使用自定义的构建器构建多架构镜像,并推送至阿里云个人镜像仓库
```shell
docker buildx build -t crpi-jqvcwrlyhb9wwayw.cn-beijing.personal.cr.aliyuncs.com/ourhonour/flaskapi --platform=linux/arm64,linux/amd64 . --push
```
多架构镜像的实现可参考 [利用 buildx 构建多架构镜像](https://source.stewednoodles.com/949.html)