@fye/cdk-ecr-deployment
TypeScript icon, indicating that this package has built-in type declarations

2.1.4 • Public • Published

cdk-ecr-deployment

Release npm version PyPI npm PyPI - Downloads

CDK construct to deploy docker image to Amazon ECR

⚠️ Please use ^1.0.0 for cdk version 1.x.x, use ^2.0.0 for cdk version 2.x.x

Features

  • Copy an ECR image to another
  • Copy docker hub image to ECR
  • Copy an archive tarball image from s3 to ECR

Examples

Run test/integ.ecr-deployment.ts

NO_PREBUILT_LAMBDA=1 npx cdk deploy -a "npx ts-node -P tsconfig.dev.json --prefer-ts-exts test/integ.ecr-deployment.ts"

Tech Details & Contribution

The core of this project relies on https://github.com/containers/image which is used by https://github.com/containers/skopeo. Please take a look at those projects before contribution.

To support a new docker image source(like docker tarball in s3), you need to implement image transport interface. You could take a look at docker-archive transport for a good start.

To test the lambda folder, make test.

Readme

Keywords

Package Sidebar

Install

npm i @fye/cdk-ecr-deployment

Weekly Downloads

16

Version

2.1.4

License

Apache-2.0

Unpacked Size

51.2 MB

Total Files

780

Last publish

Collaborators

  • drudge
  • fye-engineering
  • timonroe
  • strumwolf