From b157eaa89850441af6f03b6c96082fac6c6ff4aa Mon Sep 17 00:00:00 2001 From: Simon Gerber Date: Thu, 14 Sep 2023 15:14:02 +0200 Subject: [PATCH] Patch Kapitan in Commodore Docker image --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4c5f24a8b..1e18ab638 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ COPY pyproject.toml poetry.lock ./ RUN poetry config virtualenvs.create false \ - && poetry install --no-dev --no-root + && poetry install --no-dev --no-root \ + && curl -L \ + https://raw.githubusercontent.com/projectsyn/reclass-rs/main/hack/kapitan_0.32_reclass_rs.patch \ + | patch -p1 -d /usr/local/lib/python3.11/site-packages/kapitan COPY . ./