Skip to content

Commit 4f67d7c

Browse files
committed
Merge branch 'main' of https://github.com/philippemerle/KubeDiagrams into main
2 parents b496410 + 44ccd27 commit 4f67d7c

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ on:
1212
paths:
1313
- 'bin/**'
1414
- Dockerfile
15+
workflow_dispatch:
1516

1617
permissions:
1718
contents: read

.github/workflows/pylint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- .pylintrc
77
- bin/kube-diagrams
88
- '**.py'
9+
workflow_dispatch:
910

1011
permissions:
1112
contents: read
@@ -24,6 +25,7 @@ jobs:
2425
python-version: ${{ matrix.python-version }}
2526
- name: Install dependencies
2627
run: |
28+
sudo apt install -y graphviz graphviz-dev
2729
python -m pip install --upgrade pip
2830
pip install pylint setuptools PyYAML diagrams graphviz2drawio
2931
- name: Analysing the code with pylint

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ FROM docker.io/alpine/helm:3 AS helm
22

33
FROM docker.io/python:3.13-alpine AS base
44
RUN apk update && apk add graphviz bash
5+
RUN apk add --no-cache build-base graphviz-dev
56
RUN pip install --upgrade pip && pip install PyYAML diagrams graphviz2drawio
7+
RUN apk del build-base graphviz-dev
68
ADD bin /usr/local/bin/
79
COPY --from=helm /usr/bin/helm /usr/local/bin/helm
810
WORKDIR /work

0 commit comments

Comments
 (0)