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.768.tar.gz (29.2 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.768-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cdk8s_image-0.2.768.tar.gz
Algorithm Hash digest
SHA256 e0cdead84b9a9144c213467a7a52ce5b757377e8d68e7bfcb54add88f7f14df6
MD5 bf73806d1f7fe992b5e2a0d5b068fb84
BLAKE2b-256 608712d5389fb00f64600c8357aa329f1fb8c7b9d0a4aa8d4cbebd4bd56479f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for cdk8s_image-0.2.768.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.768-py3-none-any.whl.

File metadata

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

File hashes

Hashes for cdk8s_image-0.2.768-py3-none-any.whl
Algorithm Hash digest
SHA256 061b2895de5bceba655e5a4c3b5ff54bf2407f0dd5184da1b73a823658724cea
MD5 08a335ba5e6b28811b11c551a25741b8
BLAKE2b-256 71d12641ca83b84aa257efd480eeef99e528531051fcedb1d3cdc3c7631b3318

See more details on using hashes here.

Provenance

The following attestation bundles were made for cdk8s_image-0.2.768-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