Skip to content
Snippets Groups Projects
Commit 9ff73371 authored by Moul's avatar Moul
Browse files

pip: DeathReaper install wrongly placed in build process (#498)

Found extra and wildcard specifications solution thanks to:
https://stackoverflow.com/a/76902327
parent c7b64597
No related branches found
No related tags found
No related merge requests found
Pipeline #39565 waiting for manual action
...@@ -18,7 +18,7 @@ RUN poetry install --only main --no-root ...@@ -18,7 +18,7 @@ RUN poetry install --only main --no-root
# Copy source tree, install and build Silkaj # Copy source tree, install and build Silkaj
COPY ./ ./ COPY ./ ./
RUN poetry install --only main --extras deathreaper RUN poetry install --only main
RUN poetry build RUN poetry build
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
...@@ -40,7 +40,7 @@ RUN apt update && \ ...@@ -40,7 +40,7 @@ RUN apt update && \
# Copy the build artifact from the build stage # Copy the build artifact from the build stage
COPY --from=build "/silkaj/dist/silkaj-*-py3-none-any.whl" . 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 # Use silkaj user
USER silkaj USER silkaj
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment