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 공식업데이트됨 일 년 전
- AWS 공식업데이트됨 10달 전