diff --git a/comps/asr/Dockerfile b/comps/asr/Dockerfile index fd1db5806..cc2740b7d 100644 --- a/comps/asr/Dockerfile +++ b/comps/asr/Dockerfile @@ -3,7 +3,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 COPY comps /home/comps diff --git a/comps/dataprep/milvus/docker/Dockerfile b/comps/dataprep/milvus/docker/Dockerfile index b141579c4..7e2f2202b 100644 --- a/comps/dataprep/milvus/docker/Dockerfile +++ b/comps/dataprep/milvus/docker/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 ARG ARCH="cpu" diff --git a/comps/dataprep/pgvector/langchain/docker/Dockerfile b/comps/dataprep/pgvector/langchain/docker/Dockerfile index 347b48684..75e70c524 100644 --- a/comps/dataprep/pgvector/langchain/docker/Dockerfile +++ b/comps/dataprep/pgvector/langchain/docker/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 ARG ARCH="cpu" diff --git a/comps/dataprep/pinecone/docker/Dockerfile b/comps/dataprep/pinecone/docker/Dockerfile index 5db904dbf..d19ff6ab4 100644 --- a/comps/dataprep/pinecone/docker/Dockerfile +++ b/comps/dataprep/pinecone/docker/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \ build-essential \ diff --git a/comps/dataprep/qdrant/docker/Dockerfile b/comps/dataprep/qdrant/docker/Dockerfile index 5297d6101..bdf0315e2 100644 --- a/comps/dataprep/qdrant/docker/Dockerfile +++ b/comps/dataprep/qdrant/docker/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 ARG ARCH="cpu" diff --git a/comps/dataprep/redis/langchain/docker/Dockerfile b/comps/dataprep/redis/langchain/docker/Dockerfile index 1d9f529b7..f7fcff5a7 100644 --- a/comps/dataprep/redis/langchain/docker/Dockerfile +++ b/comps/dataprep/redis/langchain/docker/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 ARG ARCH="cpu" diff --git a/comps/dataprep/redis/langchain_ray/docker/Dockerfile b/comps/dataprep/redis/langchain_ray/docker/Dockerfile index 4d1c44cc2..e5c27cb34 100644 --- a/comps/dataprep/redis/langchain_ray/docker/Dockerfile +++ b/comps/dataprep/redis/langchain_ray/docker/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 ARG ARCH="cpu" diff --git a/comps/dataprep/redis/llama_index/docker/Dockerfile b/comps/dataprep/redis/llama_index/docker/Dockerfile index bf67f036a..1bf0e8d4a 100644 --- a/comps/dataprep/redis/llama_index/docker/Dockerfile +++ b/comps/dataprep/redis/llama_index/docker/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 ARG ARCH="cpu" diff --git a/comps/guardrails/langchain/docker/Dockerfile b/comps/guardrails/langchain/docker/Dockerfile index bf666b642..0cb6df85f 100644 --- a/comps/guardrails/langchain/docker/Dockerfile +++ b/comps/guardrails/langchain/docker/Dockerfile @@ -3,7 +3,7 @@ FROM langchain/langchain:latest -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 ARG ARCH="cpu" diff --git a/comps/guardrails/pii_detection/docker/Dockerfile b/comps/guardrails/pii_detection/docker/Dockerfile index c9a187524..aac6d29b8 100644 --- a/comps/guardrails/pii_detection/docker/Dockerfile +++ b/comps/guardrails/pii_detection/docker/Dockerfile @@ -5,7 +5,7 @@ FROM python:3.11-slim ARG ARCH="cpu" # Set this to "cpu" or "gpu" -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \ build-essential \ diff --git a/comps/llms/utils/lm-eval/Dockerfile.cpu b/comps/llms/utils/lm-eval/Dockerfile.cpu index bf81a90c4..933a523a5 100644 --- a/comps/llms/utils/lm-eval/Dockerfile.cpu +++ b/comps/llms/utils/lm-eval/Dockerfile.cpu @@ -3,7 +3,7 @@ FROM ubuntu:${UBUNTU_VER} as devel ARG REPO_COMPS=https://github.com/opea-project/GenAIComps.git ARG BRANCH=main -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \ aspell \ diff --git a/comps/reranks/fastrag/docker/Dockerfile b/comps/reranks/fastrag/docker/Dockerfile index 7d7eca6c4..8372e33b7 100644 --- a/comps/reranks/fastrag/docker/Dockerfile +++ b/comps/reranks/fastrag/docker/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.10-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \ libgl1-mesa-glx \ diff --git a/comps/reranks/tei/docker/Dockerfile b/comps/reranks/tei/docker/Dockerfile index 24949c85f..851fbfd58 100644 --- a/comps/reranks/tei/docker/Dockerfile +++ b/comps/reranks/tei/docker/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 ARG ARCH="cpu" diff --git a/comps/retrievers/langchain/milvus/docker/Dockerfile b/comps/retrievers/langchain/milvus/docker/Dockerfile index 69a971184..99c977e6f 100644 --- a/comps/retrievers/langchain/milvus/docker/Dockerfile +++ b/comps/retrievers/langchain/milvus/docker/Dockerfile @@ -4,7 +4,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 ARG ARCH="cpu" diff --git a/comps/tts/Dockerfile b/comps/tts/Dockerfile index 50dd9e15f..73272567d 100644 --- a/comps/tts/Dockerfile +++ b/comps/tts/Dockerfile @@ -3,7 +3,7 @@ FROM python:3.11-slim -ENV LANG C.UTF-8 +ENV LANG=C.UTF-8 COPY comps /home/comps