From 9ff73371c75fce9f06a80923a3a7f1946fc56dd0 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Thu, 9 Jan 2025 19:18:53 +0100
Subject: [PATCH] pip: DeathReaper install wrongly placed in build process
 (#498)

Found extra and wildcard specifications solution thanks to:
https://stackoverflow.com/a/76902327
---
 image/pip | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/image/pip b/image/pip
index 9ce53568..d46232de 100644
--- a/image/pip
+++ b/image/pip
@@ -18,7 +18,7 @@ RUN poetry install --only main --no-root
 
 # Copy source tree, install and build Silkaj
 COPY ./ ./
-RUN poetry install --only main --extras deathreaper
+RUN poetry install --only main
 RUN poetry build
 
 # ------------------------------------------------------------------------------
@@ -40,7 +40,7 @@ RUN apt update && \
 
 # Copy the build artifact from the build stage
 COPY --from=build "/silkaj/dist/silkaj-*-py3-none-any.whl" .
-RUN pip install silkaj-*-py3-none-any.whl
+RUN pip install silkaj[deathreaper] silkaj-*-py3-none-any.whl
 
 # Use silkaj user
 USER silkaj
-- 
GitLab