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-1.0.2.tar.gz
(963.2 kB
view hashes)
Built Distribution
Close
Hashes for cdk_ecr_deployment-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9231a93c8959d42d2fe9f3e3f4a953d0ab47717983edd55cd5e6f0e46ef22409 |
|
MD5 | 7850fb49da094fc08b5edb704604c2a0 |
|
BLAKE2b-256 | c239257b69a4054f9a76a44e1d041e0c90bef37391c5884e5d62298cf4096398 |