Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Nov 13, 2023
1 parent d34beac commit b134656
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ RUN pip3 install --no-cache-dir \
# Install Sphinx-Needs
RUN \
if [ -n "$NEEDS_VERSION" ] && [ "$NEEDS_VERSION" = "pre-release" ]; then \
pip3 install --no-cache-dir git+https://github.com/useblocks/sphinx-needs; \
pip3 install --no-cache-dir "sphinx-needs[plotting] @ git+https://github.com/useblocks/sphinx-needs"; \
elif [ -n "$NEEDS_VERSION" ]; then \
pip3 install --no-cache-dir git+https://github.com/useblocks/sphinx-needs@$NEEDS_VERSION; \
pip3 install --no-cache-dir "sphinx-needs[plotting] @ git+https://github.com/useblocks/sphinx-needs@$NEEDS_VERSION"; \
else \
pip3 install --no-cache-dir sphinx-needs; \
pip3 install --no-cache-dir sphinx-needs[plotting]; \
fi

## Clean up
Expand Down

0 comments on commit b134656

Please sign in to comment.