CDK construct to deploy docker image to Amazon ECR
Project description
cdk-ecr-deployment
CDK construct to deploy docker image to Amazon ECR
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-0.0.88.tar.gz
(976.9 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.88.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81a816e898ca5c14fc3c5764ed3d4b76f9122abf0db6d41c3375be36753fbeeb |
|
MD5 | 712314c4ba3e8759bfb0786c6d771000 |
|
BLAKE2b-256 | e5c6b6260579a7c122fb7be7abcd844fc3c04e605a4bc62d0613ace48652b46c |
Close
Hashes for cdk_ecr_deployment-0.0.88-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c69bba3ae159ccb6f57baee772e8075c1155482376ed60b9c21004aba2dc39e5 |
|
MD5 | fed56ea7989e42a6424376922ed46432 |
|
BLAKE2b-256 | d4cd31f5b320b4efc38e8c80008e334182031f43219b632329c993e6cafa53a3 |