Skip to content

Commit 6ce6551

Browse files
authored
replace langchain/langchain:latest with python:3.11-slim (#669)
* replace langchain/langchain:latest with python:3.11-slim Signed-off-by: chensuyue <[email protected]> * fix test Signed-off-by: chensuyue <[email protected]> --------- Signed-off-by: chensuyue <[email protected]>
1 parent 887ca75 commit 6ce6551

File tree

26 files changed

+30
-29
lines changed

26 files changed

+30
-29
lines changed

comps/embeddings/mosec/langchain/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) 2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM langchain/langchain:latest
4+
FROM python:3.11-slim
55

66
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
77
libgl1-mesa-glx \

comps/embeddings/multimodal/multimodal_langchain/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2024 Intel Corporation
33
# SPDX-License-Identifier: Apache-2.0
44

5-
FROM langchain/langchain:latest
5+
FROM python:3.11-slim
66

77
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
88
libgl1-mesa-glx \

comps/embeddings/multimodal_clip/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) 2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM langchain/langchain:latest
4+
FROM python:3.11-slim
55

66
ARG ARCH="cpu"
77

comps/embeddings/tei/langchain/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) 2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM langchain/langchain:latest
4+
FROM python:3.11-slim
55

66
ARG ARCH="cpu"
77

comps/guardrails/llama_guard/langchain/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) 2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM langchain/langchain:latest
4+
FROM python:3.11-slim
55

66
ENV LANG=C.UTF-8
77

comps/guardrails/toxicity_detection/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) 2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM langchain/langchain:latest
4+
FROM python:3.11-slim
55

66
ENV LANG=C.UTF-8
77

comps/intent_detection/langchain/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) 2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM langchain/langchain:latest
4+
FROM python:3.11-slim
55

66
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
77
libgl1-mesa-glx \

comps/knowledgegraphs/langchain/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) 2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM langchain/langchain:latest
4+
FROM python:3.11-slim
55

66
ARG ARCH="cpu" # Set this to "cpu" or "gpu"
77

comps/llms/faq-generation/tgi/langchain/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) 2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM langchain/langchain:latest
4+
FROM python:3.11-slim
55

66
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
77
libgl1-mesa-glx \

comps/llms/summarization/tgi/langchain/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (C) 2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
FROM langchain/langchain:latest
4+
FROM python:3.11-slim
55

66
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
77
libgl1-mesa-glx \

0 commit comments

Comments
 (0)