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
npx cdk deploy -a "npx ts-node -P tsconfig.jest.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
File details
Details for the file avishayil-cdk.ecr_deployment-0.0.0.tar.gz
.
File metadata
- Download URL: avishayil-cdk.ecr_deployment-0.0.0.tar.gz
- Upload date:
- Size: 86.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f777d6179525cdcf3566988bb80677eaf9507a37c5cb8b34f6b5cdcc3b8eb6a |
|
MD5 | fed8d9ddcb9ff97439647735484956ca |
|
BLAKE2b-256 | 9d795d9de5b52adfe6fb115ed0bed4e787a361e755b5936a7bb9c7d73a37a822 |
File details
Details for the file avishayil_cdk.ecr_deployment-0.0.0-py3-none-any.whl
.
File metadata
- Download URL: avishayil_cdk.ecr_deployment-0.0.0-py3-none-any.whl
- Upload date:
- Size: 84.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 720c24775446230ce3cbf35a988fe84fd239ad5e9be61b9aaddee22c7665959d |
|
MD5 | 082b8739cd11d7a9c0e58bfec1f7c069 |
|
BLAKE2b-256 | d4234660b3785546c35b36de3e46d394353ff78cd750c217a56ffa2d437d12ee |