1 個回答
- 最新
- 最多得票
- 最多評論
0
Hi Smotrov,
Typically CDK is meant for infrastructure as code, so building the image per se is not part of that.
What you can do is to provision native cloud pipelines in cdk, that allow you to build the images.
An example is code pipeline and code build where you can build a docker image: https://github.com/aws-samples/aws-cdk-examples/blob/master/python/codepipeline-docker-build/ReadMe.md
So if you wish to execute the building of the image with cdk, I d create a script that executes both cdk deploy and that triggers a code pipeline starts.
Hope it helps and fits your case
相關內容
- AWS 官方已更新 10 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前