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


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.74.tar.gz (85.7 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-0.0.74-py3-none-any.whl (84.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cdk-ecr-deployment-0.0.74.tar.gz
  • Upload date:
  • Size: 85.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.10

File hashes

Hashes for cdk-ecr-deployment-0.0.74.tar.gz
Algorithm Hash digest
SHA256 2f652ffa5fda31653fcccdecb5c5879950cf6d9150296778df9f1638a804bfed
MD5 f12780d5bdbb47c0bb520d9c502a2adc
BLAKE2b-256 af93d49f9439f7180525adce31d73402c89cf35bc0687308d18e76f736ec6f9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cdk_ecr_deployment-0.0.74-py3-none-any.whl
  • Upload date:
  • Size: 84.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.7.10

File hashes

Hashes for cdk_ecr_deployment-0.0.74-py3-none-any.whl
Algorithm Hash digest
SHA256 a6b8054748d8317a8160c7592acee0444b7542d2ab809abe43f7239d023afca6
MD5 df2c7d4f3d8f797afe2fe8b6cbe382e9
BLAKE2b-256 f11749873e3c393f3c5ff4303f193a754a936c7569f0c825b4250392d57dddd9

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