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.86.tar.gz
(985.1 kB
view hashes)
Built Distribution
Close
Hashes for cdk-ecr-deployment-0.0.86.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cf9236af616d9290fc6e98fdc71eb1aca533e0bce7712c5a963995687ab1cec |
|
MD5 | 772ba201552568e9a1847b6be8cead23 |
|
BLAKE2b-256 | 3bdc14fa5b17569dd0e643f90a46ef64c77245485c4f65f7a5ef7b291908279d |
Close
Hashes for cdk_ecr_deployment-0.0.86-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dff474fa75a51e9318c901fb565228178f1cfed16f00477c750c5197ea53ba69 |
|
MD5 | a5a4c2479057db08d93c7e67e1ffb8e0 |
|
BLAKE2b-256 | 6de9668cf35201974daa95ce56d8736f1baaefa2f55bf4e5ea90098bb9ae9ffc |