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

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-1.0.1.tar.gz (963.8 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-1.0.1-py3-none-any.whl (963.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cdk-ecr-deployment-1.0.1.tar.gz
  • Upload date:
  • Size: 963.8 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-1.0.1.tar.gz
Algorithm Hash digest
SHA256 78662f182cad16a3c716ce41101e877ff1cd3bfd4815117d94c2628fe81a26cb
MD5 d227ae0953473cb5db78c39505263fb5
BLAKE2b-256 bb67ae02423f80ffa7499817bbea56f14853a853a6a12a61a900dad160ee01f0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cdk_ecr_deployment-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 963.2 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-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c06a4a0d5dc3d2fafdec00fb2a128063bf32eb9762ec62fa08ac1201deaf906
MD5 144b569154c7a8a47ce77668228cf211
BLAKE2b-256 38295bb3fec1d8bd602f489ec0ac3e5059c5eea73e6fc3078fd3cffaf4013757

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