[英]How to create a windows docker image in aws codebuild
Is it possible to create a windows based docker image in code build?是否可以在代码构建中创建基于 Windows 的 docker 镜像? We could not find any docs on AWS regarding this.
我们在 AWS 上找不到任何关于此的文档。 Any help on how to create a windows based docker image in CodeBuild will be much appreciated.
任何有关如何在 CodeBuild 中创建基于 Windows 的 docker 映像的帮助将不胜感激。
As on may 25th 2018 AWS codebuild added support for windows based containers, the default enviroment supports .net core out of the box if you want to build your custom windows based enviroment then you need to first create your custom docker image on windows based host and then push it to AWS ECR container registry, then you can give reference to this image in your custom build enviroment in code build. 2018 年 5 月 25 日,AWS 代码构建添加了对基于 Windows 的容器的支持,如果您想构建基于 Windows 的自定义环境,默认环境支持开箱即用的 .net 核心,那么您需要首先在基于 Windows 的主机上创建自定义 docker 映像,并且然后将其推送到 AWS ECR 容器注册表,然后您可以在代码构建的自定义构建环境中引用此映像。
for more information click on this link有关更多信息,请单击此链接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.