Files
KubeDiagrams/Dockerfile
David Söderlund 037b7999f6 Added Dockerfile
Wrote build and usage instructions for kube-diagrams and helm-diagrams from a manifest and a remote helm chart respectively.

Signed-off-by: David Söderlund <ds@dsoderlund.consulting>
2025-03-14 12:22:19 +01:00

9 lines
351 B
Docker

FROM docker.io/alpine/helm:3 AS helm
FROM docker.io/python:3.12-slim AS base
RUN apt-get update && apt-get -y install graphviz libgl1
RUN pip install --upgrade pip
RUN pip install helm-python glib PyQt5 graphviz
RUN pip install KubeDiagrams
RUN cp /usr/local/bin/kube-diagrams.yaml KubeDiagrams.yaml
COPY --from=helm /usr/bin/helm /usr/local/bin/helm