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.10.tar.gz
(957.5 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-2.0.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7ea6358797afc1103f60cb5c52f1b18c98b9b03c329f8ba168fcd9e38837dee |
|
MD5 | b982ac34d3479f81ad2313ba148cc672 |
|
BLAKE2b-256 | 230a7b1a1ad70f74b7c3dfd2137794dded4098145d17599a1401c702143b6f99 |
Close
Hashes for cdk_ecr_deployment-2.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24fd16fc0d47502d66b9c229b25445b4153830f29d8e176ceea2f4ec11db4da0 |
|
MD5 | 85cc9fc9a2d66ce0e9bc2987125a5fd8 |
|
BLAKE2b-256 | b474b52767128f1b04c06a457674a3bb48d01375133fafc267ae99162bc2c350 |