Skip to main content

CDK construct to deploy docker image to Amazon ECR

Project description

cdk-ecr-deployment

Release npm version PyPI npm PyPI - Downloads

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cdk-ecr-deployment, version 0.0.81
Filename, size File type Python version Upload date Hashes
Filename, size cdk_ecr_deployment-0.0.81-py3-none-any.whl (966.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cdk-ecr-deployment-0.0.81.tar.gz (967.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page