mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
fix(fips): run the grpcio version stage as root
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
355986ab22
commit
d610c523ba
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ RUN curl -fsSL -o pgbouncer.tar.gz "https://www.pgbouncer.org/downloads/files/${
|
|||
# every other consumer in the image. The version is read from uv.lock through
|
||||
# its own tiny stage so this long compile is cached until grpcio itself moves.
|
||||
FROM $LITELLM_BUILD_IMAGE AS grpcio-version
|
||||
USER root
|
||||
COPY uv.lock /uv.lock
|
||||
RUN awk '/^name = "grpcio"$/ { found = 1 } found && /^version = / { gsub(/"/, "", $3); print $3; exit }' /uv.lock \
|
||||
> /grpcio-version && test -s /grpcio-version
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue