简体   繁体   English

如何在 aws codebuild 中创建 windows docker 镜像

[英]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有关更多信息,请单击此链接

code build for windows container Windows 容器的代码构建

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 AWS CodePipline & Codebuild - 如何向 Docker-Image 添加环境变量? - AWS CodePipline & Codebuild - How to add environment variables to the Docker-Image? 如何为 AWS CodeBuild 自动镜像拉取提供 Docker 凭证 - How to provide Docker Credentials for AWS CodeBuild automatic image pull AWS CodeBuild Docker 镜像作为基础镜像 - AWS CodeBuild Docker images as Base Image AWS Codebuild .NET Core构建docker映像 - AWS Codebuild .NET Core building docker image 如何在AWS CodeBuild上运行docker-compose? - How to run docker-compose on AWS CodeBuild? AWS 代码构建 | Docker | 无法拉取客户的容器镜像 | 基于 Windows 版本 10.0.17763 的映像与 10.0.14393 主机不兼容 - AWS Codebuild | Docker | Unable to pull customer's container image | a Windows version 10.0.17763-based image is incompatible with a 10.0.14393 host 将 Docker 映像从 AWS Codebuild 推送到另一个账户的 ECR - Pushing Docker Image to Another Account's ECR from AWS Codebuild 在 AWS CodeBuild 上预置自定义 Docker 映像需要很长时间 - Provisioning a custom Docker image on AWS CodeBuild takes a very long time AWS CodeBuild - 基于来自docker hub的映像的环境 - AWS CodeBuild - Environment based off of image from docker hub 使用PrivilegedMode = TRUE的AWS策划Docker镜像创建CodeBuild项目 - Creating a CodeBuild project using an AWS curated Docker image with PrivilegedMode=TRUE
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM