Skip to main content

Build & Push local docker images inside CDK8s applications

Project description

cdk8s-image

An Image construct which takes care of building & pushing docker images that can be used in CDK8s apps.

The following example will build the docker image from Dockerfile under the my-app directory, push it to a local registry and then define a Kubernetes deployment that deploys containers that run this image.

const image = new Image(this, 'image', {
  dir: `${__dirname}/my-app`,
  registry: 'localhost:5000'
});

new Deployment(this, 'deployment', {
  containers: [ new Container({ image: image.url }) ],
});

Contributions

All contributions are celebrated.

License

Licensed under Apache 2.0.

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

cdk8s_image-0.2.744.tar.gz (29.6 kB view details)

Uploaded Source

Built Distribution

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

cdk8s_image-0.2.744-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file cdk8s_image-0.2.744.tar.gz.

File metadata

  • Download URL: cdk8s_image-0.2.744.tar.gz
  • Upload date:
  • Size: 29.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.14.3

File hashes

Hashes for cdk8s_image-0.2.744.tar.gz
Algorithm Hash digest
SHA256 6b08f8f389272ae51da5c36d87920e154d6fbae13f12d0a72759565bacd3e01d
MD5 a8f15d5451f742d3fbbaddfa84251b8c
BLAKE2b-256 b485fca1e9ccf2385af6eb81ddd4c7a8b81b4325e80910e4a405598e8da159f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cdk8s_image-0.2.744.tar.gz:

Publisher: release.yml on cdk8s-team/cdk8s-image

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cdk8s_image-0.2.744-py3-none-any.whl.

File metadata

  • Download URL: cdk8s_image-0.2.744-py3-none-any.whl
  • Upload date:
  • Size: 28.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.14.3

File hashes

Hashes for cdk8s_image-0.2.744-py3-none-any.whl
Algorithm Hash digest
SHA256 02ffafac8f60473783dc3772f411f9ea14f873130a93b12818ae8f332b63d06b
MD5 c20dea9972e45dc0596b43628986e2fb
BLAKE2b-256 a0720868d43422c371b49bab7a8b22894456b7b5f4985237356defcb8f3fd91c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cdk8s_image-0.2.744-py3-none-any.whl:

Publisher: release.yml on cdk8s-team/cdk8s-image

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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