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.
Metadata
Release files for avishayil-cdk.ecr-deployment 0.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| avishayil-cdk.ecr_deployment-0.0.0.tar.gz | 86.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| avishayil_cdk.ecr_deployment-0.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 170.8 kB
Release files / avishayil-cdk.ecr_deployment-0.0.0.tar.gz
| Download URL | avishayil-cdk.ecr_deployment-0.0.0.tar.gz |
|---|---|
| Size | 86.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f777d6179525cdcf3566988bb80677eaf9507a37c5cb8b34f6b5cdcc3b8eb6a
|
|
BLAKE2b-256 checksum How to use checksums |
9d795d9de5b52adfe6fb115ed0bed4e787a361e755b5936a7bb9c7d73a37a822
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / avishayil_cdk.ecr_deployment-0.0.0-py3-none-any.whl
| Download URL | avishayil_cdk.ecr_deployment-0.0.0-py3-none-any.whl |
|---|---|
| Size | 84.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
720c24775446230ce3cbf35a988fe84fd239ad5e9be61b9aaddee22c7665959d
|
|
BLAKE2b-256 checksum How to use checksums |
d4234660b3785546c35b36de3e46d394353ff78cd750c217a56ffa2d437d12ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|