File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM alpine AS text-embeddings-inference
22
33RUN mkdir -p /text-embeddings-inference
4- ADD https://github.com/huggingface/text-embeddings-inference/archive/refs/tags/v1.9.2 .tar.gz /text-embeddings-inference/sources.tar.gz
4+ ADD https://github.com/huggingface/text-embeddings-inference/archive/refs/tags/v1.9.3 .tar.gz /text-embeddings-inference/sources.tar.gz
55RUN tar -C /text-embeddings-inference -xf /text-embeddings-inference/sources.tar.gz --strip-components=1
66
77FROM lukemathwalker/cargo-chef:latest-rust-1.92-bookworm AS chef
@@ -94,6 +94,14 @@ RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.
9494 apt-get clean autoremove --yes && \
9595 rm -rf /var/lib/{apt,dpkg,cache,log}
9696
97- COPY --chmod=775 containers/tei/cpu/1.9.2/entrypoint.sh entrypoint.sh
97+ # NOTE: anthoscli is not required for the intended use of gcloud SDK within this
98+ # context, hence we're safe to remove it, preventing the following CVEs:
99+ # - CVE-2025-68121
100+ # - CVE-2026-27143
101+ # - CVE-2026-33186
102+ # Which are originated due to the bundled Go version in the pre-compiled anthoscli
103+ RUN rm -rf /usr/lib/google-cloud-sdk/bin/anthoscli
104+
105+ COPY --chmod=775 containers/tei/cpu/1.9.3/entrypoint.sh entrypoint.sh
98106ENTRYPOINT ["./entrypoint.sh" ]
99107CMD ["--json-output" ]
File renamed without changes.
Original file line number Diff line number Diff line change 11FROM alpine AS text-embeddings-inference
22
33RUN mkdir -p /text-embeddings-inference
4- ADD https://github.com/huggingface/text-embeddings-inference/archive/refs/tags/v1.9.2 .tar.gz /text-embeddings-inference/sources.tar.gz
4+ ADD https://github.com/huggingface/text-embeddings-inference/archive/refs/tags/v1.9.3 .tar.gz /text-embeddings-inference/sources.tar.gz
55RUN tar -C /text-embeddings-inference -xf /text-embeddings-inference/sources.tar.gz --strip-components=1
66
77FROM nvidia/cuda:12.9.1-devel-ubuntu24.04 AS base-builder
@@ -137,6 +137,14 @@ RUN echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.
137137 apt-get clean autoremove --yes && \
138138 rm -rf /var/lib/{apt,dpkg,cache,log}
139139
140- COPY --chmod=775 containers/tei/gpu/1.9.2/entrypoint.sh entrypoint.sh
140+ # NOTE: anthoscli is not required for the intended use of gcloud SDK within this
141+ # context, hence we're safe to remove it, preventing the following CVEs:
142+ # - CVE-2025-68121
143+ # - CVE-2026-27143
144+ # - CVE-2026-33186
145+ # Which are originated due to the bundled Go version in the pre-compiled anthoscli
146+ RUN rm -rf /usr/lib/google-cloud-sdk/bin/anthoscli
147+
148+ COPY --chmod=775 containers/tei/gpu/1.9.3/entrypoint.sh entrypoint.sh
141149ENTRYPOINT ["./entrypoint.sh" ]
142150CMD ["--json-output" ]
File renamed without changes.
You can’t perform that action at this time.
0 commit comments