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.87.tar.gz
(985.6 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.87.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a5f2cb259989041e937a660bf4b706a87dde7912e63685a1b550508b1e44ed9 |
|
MD5 | bcc0870271e64ee91b78b6a8c603b7ac |
|
BLAKE2b-256 | 4d0b7b745a7683cbc41b3b63ce221f3d3b4fc6bad1134e016f201fefe2b8dc79 |
Close
Hashes for cdk_ecr_deployment-0.0.87-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5241605c121d6e514486eff8057e19e8367a325d4d27b145f355c73b63d99c41 |
|
MD5 | c953d49be14c8c74f3eec7c4194e5282 |
|
BLAKE2b-256 | 7dfda1c9100eaeb99496d6c0d7e1e6d4609e53d1ad790fc50f1955f1907b893d |