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

⚠️ Please use ^1.0.0 for cdk version 1.x.x, use ^2.0.0 for cdk version 2.x.x

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-2.0.2.tar.gz (975.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cdk_ecr_deployment-2.0.2-py3-none-any.whl (975.1 kB view details)

Uploaded Python 3

File details

Details for the file cdk-ecr-deployment-2.0.2.tar.gz.

File metadata

  • Download URL: cdk-ecr-deployment-2.0.2.tar.gz
  • Upload date:
  • Size: 975.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for cdk-ecr-deployment-2.0.2.tar.gz
Algorithm Hash digest
SHA256 5ab5fd7ec21f2849f8e4f96b1519b4da37be46a6ec796c9fa64c44ef059c90b8
MD5 22d3486af003ad32278967c959bf77f3
BLAKE2b-256 c4452d8e80a73ae74b1404d12850eecf5ebe3bd4f30e5c1a35b41924d3510607

See more details on using hashes here.

File details

Details for the file cdk_ecr_deployment-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: cdk_ecr_deployment-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 975.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for cdk_ecr_deployment-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 16519a7b79dc0b922ea23219d88cd50642562c505f5da7e32f487310eff81d04
MD5 ab40fe7e6b5650f9bcb9c132a7db89ca
BLAKE2b-256 83212f2daa4a342cea1afb97092c96240e1c419019b7d9ca21fdfbb2a2f71f6a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page