CDK construct to deploy docker image to Amazon ECR
Project description
cdk-ecr-deployment
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
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdk-ecr-deployment-2.0.11.tar.gz
(974.9 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-2.0.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0385f5da7d1fd7490992a9cf599dc0bd0c41e5427d2827aaebe415bbacbdac99 |
|
MD5 | 62d0ff04703ee1335f7df0361f1d8e15 |
|
BLAKE2b-256 | bf7f099489b5930c86168059cb55ce34b0033db0e5a88035a061856baec47db9 |
Close
Hashes for cdk_ecr_deployment-2.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35b53942b945a89fd17e6399988dc7405464dcc9e50de84a77cf8af0b767d858 |
|
MD5 | cda847d1cf2458878a0ec608fa122156 |
|
BLAKE2b-256 | 39d216f169fc7873a51618078c02d5c434b4dd786ca12a2ab147b0885ff8b508 |