mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
chore: force jaraco.context 6.1.0 in runtime images
This commit is contained in:
parent
9fa32e5d21
commit
a43f9edcd7
2 changed files with 6 additions and 0 deletions
|
|
@ -61,6 +61,9 @@ COPY --from=builder /wheels/ /wheels/
|
|||
# Install the built wheel using pip; again using a wildcard if it's the only file
|
||||
RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels
|
||||
|
||||
# Force patched jaraco.context version (GHSA-58pv-8j8x-9vj2)
|
||||
RUN pip install --no-cache-dir 'jaraco.context==6.1.0'
|
||||
|
||||
# Remove test files and keys from dependencies
|
||||
RUN find /usr/lib -type f -path "*/tornado/test/*" -delete && \
|
||||
find /usr/lib -type d -path "*/tornado/test" -delete
|
||||
|
|
|
|||
|
|
@ -63,6 +63,9 @@ COPY --from=builder /wheels/ /wheels/
|
|||
# Install the built wheel using pip; again using a wildcard if it's the only file
|
||||
RUN pip install *.whl /wheels/* --no-index --find-links=/wheels/ && rm -f *.whl && rm -rf /wheels
|
||||
|
||||
# Force patched jaraco.context version (GHSA-58pv-8j8x-9vj2)
|
||||
RUN pip install --no-cache-dir 'jaraco.context==6.1.0'
|
||||
|
||||
# Install semantic_router and aurelio-sdk using script
|
||||
# Convert Windows line endings to Unix and make executable
|
||||
RUN sed -i 's/\r$//' docker/install_auto_router.sh && chmod +x docker/install_auto_router.sh && ./docker/install_auto_router.sh
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue