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.784.tar.gz (29.4 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.784-py3-none-any.whl (27.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cdk8s_image-0.2.784.tar.gz
Algorithm Hash digest
SHA256 7510f4692a76bd2c9f3477e256ad17b200b6907b3ab3e47d0a58dbda64c0a1c7
MD5 0944b09976d6a0c08fd14e254f3d04fa
BLAKE2b-256 b9e7e6cdf6481406e70baa9bc66661f677cff943c72e2d27556a6c97c0eeddd3

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for cdk8s_image-0.2.784-py3-none-any.whl
Algorithm Hash digest
SHA256 6a3d7b467aba05734a34bbe5a3e4a9d4c1557f6265094825c1e1679501440341
MD5 85e9a14712f8b9ec5f99b7fbd06ad464
BLAKE2b-256 1f0fe735a4fdec8331458be2197064f7f00de8f8b87fdaf11f6135151c8bb624

See more details on using hashes here.

Provenance

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