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.89.tar.gz
(976.8 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.89.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9abe61a61f9e1dfeb3321d9adaa7d39d82d167e5a39d64fb292e8db9000c5de |
|
MD5 | 41c479348b44eab82a857f9f5d5f51ce |
|
BLAKE2b-256 | 080169d381671394cc7d66eded5f7cc8a5bf7b54db0ff34a6449f21803e465cc |
Close
Hashes for cdk_ecr_deployment-0.0.89-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a462fe5aa3239836695d7118bf40e00901f9572269c7e035965bd9fc84d97e3 |
|
MD5 | 5b710cd538499b3456e3f9f36a51a598 |
|
BLAKE2b-256 | 0a07bade42346ae4eb77a8538916bf6845b938f63b6b275155a97c6fe38f3d40 |