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.7.tar.gz
(981.2 kB
view hashes)
Built Distribution
Close
Hashes for cdk_ecr_deployment-2.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e74531f46cde8857f5013cac65d28eb22773e77671d59b4598755969ac196179 |
|
MD5 | 2c5f70eac4f4d18630c440f8651d2ab8 |
|
BLAKE2b-256 | 225befbd22b38db95fd175b8e2689a5dd65769bde22f1adb5fa300d6b68e9dbf |