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
Built Distribution
Close
Hashes for retbrown-cdk-ecr-deployment-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecaad672a1381f401e84f01a64be41fdf4fd034c5cacfe6e6be5b14225d46566 |
|
MD5 | f567e06be55a57650244394ad0ac2b16 |
|
BLAKE2b-256 | 2db8a33a96a12a27dfe95736f09412711fe68b401cd82b697d60549ab8ac9f28 |
Close
Hashes for retbrown_cdk_ecr_deployment-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bd5267c2fcce111c581e78f7f11078d56bab11c996e2d70736a69e6059fac1f |
|
MD5 | 4b55caa92c4c470e4265d3ad7ba37714 |
|
BLAKE2b-256 | 52fcf8b8c260b0abba569be11924466683c346860a603e694dfa296343abd905 |