From b6c8f4da92a2a3ea15a45e23724e9850287f621b Mon Sep 17 00:00:00 2001 From: zhihang Date: Wed, 12 Mar 2025 02:26:04 +0000 Subject: [PATCH 1/3] Reapply "add openEuler support for SearchQnA" This reverts commit 5612c1b0e87a4d1ac874e99d124e9bbe1a7f4f44. --- .../24.03-lts/Dockerfile | 0 dataprep-redis-langchain/meta.yml | 4 +- .../{0.3.3 => 0.3.0}/24.03-lts/Dockerfile | 0 embedding-tei-langchain/meta.yml | 4 +- .../24.03-lts/Dockerfile | 0 retriever-redis-langchain/meta.yml | 4 +- searchqna-ui/1.0/24.03-lts/Dockerfile | 31 ++++++++++++++ searchqna-ui/meta.yml | 2 + searchqna/1.0/24.03-lts/Dockerfile | 36 +++++++++++++++++ searchqna/meta.yml | 2 + .../0.3.0-chromadb0.5.7/24.03-lts/Dockerfile | 40 +++++++++++++++++++ web-retriever-chroma-langchain/meta.yml | 3 ++ 12 files changed, 120 insertions(+), 6 deletions(-) rename dataprep-redis-langchain/{0.3.4-redis5.1.1 => 0.3.0-redis5.0.8}/24.03-lts/Dockerfile (100%) rename embedding-tei-langchain/{0.3.3 => 0.3.0}/24.03-lts/Dockerfile (100%) rename retriever-redis-langchain/{0.3.3-redis5.1.1 => 0.3.0-redis5.0.8}/24.03-lts/Dockerfile (100%) create mode 100644 searchqna-ui/1.0/24.03-lts/Dockerfile create mode 100644 searchqna-ui/meta.yml create mode 100644 searchqna/1.0/24.03-lts/Dockerfile create mode 100644 searchqna/meta.yml create mode 100644 web-retriever-chroma-langchain/0.3.0-chromadb0.5.7/24.03-lts/Dockerfile create mode 100644 web-retriever-chroma-langchain/meta.yml diff --git a/dataprep-redis-langchain/0.3.4-redis5.1.1/24.03-lts/Dockerfile b/dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile similarity index 100% rename from dataprep-redis-langchain/0.3.4-redis5.1.1/24.03-lts/Dockerfile rename to dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile diff --git a/dataprep-redis-langchain/meta.yml b/dataprep-redis-langchain/meta.yml index 079bce74..16820702 100644 --- a/dataprep-redis-langchain/meta.yml +++ b/dataprep-redis-langchain/meta.yml @@ -1,3 +1,3 @@ -0.3.4-redis5.1.1-oe2403lts: - path: dataprep-redis-langchain/0.3.4-redis5.1.1/24.03-lts/Dockerfile +0.3.0-redis5.0.8-oe2403lts: + path: dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile arch: x86_64 \ No newline at end of file diff --git a/embedding-tei-langchain/0.3.3/24.03-lts/Dockerfile b/embedding-tei-langchain/0.3.0/24.03-lts/Dockerfile similarity index 100% rename from embedding-tei-langchain/0.3.3/24.03-lts/Dockerfile rename to embedding-tei-langchain/0.3.0/24.03-lts/Dockerfile diff --git a/embedding-tei-langchain/meta.yml b/embedding-tei-langchain/meta.yml index 1192bf09..a91280ca 100644 --- a/embedding-tei-langchain/meta.yml +++ b/embedding-tei-langchain/meta.yml @@ -1,2 +1,2 @@ -0.3.3-oe2403lts: - path: embedding-tei-langchain/0.3.3/24.03-lts/Dockerfile \ No newline at end of file +0.3.0-oe2403lts: + path: embedding-tei-langchain/0.3.0/24.03-lts/Dockerfile \ No newline at end of file diff --git a/retriever-redis-langchain/0.3.3-redis5.1.1/24.03-lts/Dockerfile b/retriever-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile similarity index 100% rename from retriever-redis-langchain/0.3.3-redis5.1.1/24.03-lts/Dockerfile rename to retriever-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile diff --git a/retriever-redis-langchain/meta.yml b/retriever-redis-langchain/meta.yml index f07b1cb6..86c59895 100644 --- a/retriever-redis-langchain/meta.yml +++ b/retriever-redis-langchain/meta.yml @@ -1,3 +1,3 @@ -0.3.3-redis5.1.1-oe2403lts: - path: retriever-redis-langchain/0.3.3-redis5.1.1/24.03-lts/Dockerfile +0.3.0-redis5.0.8-oe2403lts: + path: retriever-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile arch: x86_64 \ No newline at end of file diff --git a/searchqna-ui/1.0/24.03-lts/Dockerfile b/searchqna-ui/1.0/24.03-lts/Dockerfile new file mode 100644 index 00000000..2b2d4222 --- /dev/null +++ b/searchqna-ui/1.0/24.03-lts/Dockerfile @@ -0,0 +1,31 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +# Use node 20.11.1 as the base image +FROM openeuler/openeuler:24.03-lts + +# Update package manager and install Git +RUN yum update -y && \ + yum install -y --setopt=install_weak_deps=False \ + npm \ + git + +WORKDIR /home/user + +# Copy the front-end code repository +RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 + +# Set the working directory +WORKDIR /home/user/GenAIExamples/SearchQnA/ui/svelte + +# Install front-end dependencies +RUN npm install + +# Build the front-end application +RUN npm run build + +# Expose the port of the front-end application +EXPOSE 5173 + +# Run the front-end application in preview mode +CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/searchqna-ui/meta.yml b/searchqna-ui/meta.yml new file mode 100644 index 00000000..5ffeedf0 --- /dev/null +++ b/searchqna-ui/meta.yml @@ -0,0 +1,2 @@ +1.0-oe2403lts: + path: searchqna-ui/1.0/24.03-lts/Dockerfile diff --git a/searchqna/1.0/24.03-lts/Dockerfile b/searchqna/1.0/24.03-lts/Dockerfile new file mode 100644 index 00000000..b77d3b5f --- /dev/null +++ b/searchqna/1.0/24.03-lts/Dockerfile @@ -0,0 +1,36 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +FROM openeuler/openeuler:24.03-lts + +RUN yum update -y && \ + yum install -y --setopt=install_weak_deps=False \ + python-pip python \ + shadow-utils \ + mesa-libGL \ + jemalloc-devel \ + git + +RUN useradd -m -s /bin/bash user && \ + mkdir -p /home/user && \ + chown -R user /home/user/ + +WORKDIR /home/user/ +RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 + +WORKDIR /home/user/GenAIComps +RUN pip install --no-cache-dir --upgrade pip && \ + pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt + +WORKDIR /home/user/ +RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 +RUN cp GenAIExamples/SearchQnA/searchqna.py . +RUN rm -rf GenAIExamples + +ENV PYTHONPATH=$PYTHONPATH:/home/user/GenAIComps + +USER user + +WORKDIR /home/user + +ENTRYPOINT ["python", "searchqna.py"] diff --git a/searchqna/meta.yml b/searchqna/meta.yml new file mode 100644 index 00000000..fede55bd --- /dev/null +++ b/searchqna/meta.yml @@ -0,0 +1,2 @@ +1.0-oe2403lts: + path: searchqna/1.0/24.03-lts/Dockerfile diff --git a/web-retriever-chroma-langchain/0.3.0-chromadb0.5.7/24.03-lts/Dockerfile b/web-retriever-chroma-langchain/0.3.0-chromadb0.5.7/24.03-lts/Dockerfile new file mode 100644 index 00000000..61056432 --- /dev/null +++ b/web-retriever-chroma-langchain/0.3.0-chromadb0.5.7/24.03-lts/Dockerfile @@ -0,0 +1,40 @@ +# Copyright (C) 2024 Intel Corporation +# SPDX-License-Identifier: Apache-2.0 + +FROM openeuler/openeuler:24.03-lts + +ARG ARCH="cpu" # Set this to "cpu" or "gpu" + +RUN yum update -y && \ + yum install -y --setopt=install_weak_deps=False \ + python-pip python \ + shadow-utils \ + mesa-libGL \ + jemalloc-devel \ + git + +RUN useradd -m -s /bin/bash user && \ + mkdir -p /home/user && \ + chown -R user /home/user/ + +USER user + +WORKDIR /home/user/ + +RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 + +RUN cp -r GenAIComps/comps . && \ + rm -rf GenAIComps + +RUN pip install --no-cache-dir --upgrade pip && \ + if [ ${ARCH} = "cpu" ]; then \ + pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu -r /home/user/comps/web_retrievers/chroma/langchain/requirements.txt; \ + else \ + pip install --no-cache-dir -r /home/user/comps/web_retrievers/chroma/langchain/requirements.txt; \ + fi + +ENV PYTHONPATH=$PYTHONPATH:/home/user + +WORKDIR /home/user/comps/web_retrievers/chroma/langchain + +ENTRYPOINT ["python", "retriever_chroma.py"] diff --git a/web-retriever-chroma-langchain/meta.yml b/web-retriever-chroma-langchain/meta.yml new file mode 100644 index 00000000..84403b10 --- /dev/null +++ b/web-retriever-chroma-langchain/meta.yml @@ -0,0 +1,3 @@ +0.3.0-chromadb0.5.7-oe2403lts: + path: web-retriever-chroma-langchain/0.3.0-chromadb0.5.7/24.03-lts/Dockerfile + arch: x86_64 \ No newline at end of file -- Gitee From c4e4ae16b1b2e792f53e0dd19026d97f69ad9c82 Mon Sep 17 00:00:00 2001 From: zhihang Date: Wed, 12 Mar 2025 02:42:23 +0000 Subject: [PATCH 2/3] update dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile --- .../0.3.0-redis5.0.8/24.03-lts/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile b/dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile index 8e77baf2..befe12fe 100644 --- a/dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile +++ b/dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile @@ -22,15 +22,15 @@ RUN yum update -y && \ RUN mkdir -p /tmp/LibreOffice/LibreOffice && \ - wget -O /tmp/LibreOffice/LibreOffice.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.2/rpm/x86_64/LibreOffice_24.8.2_Linux_x86-64_rpm.tar.gz && \ + wget -O /tmp/LibreOffice/LibreOffice.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.5/rpm/x86_64/LibreOffice_24.8.5_Linux_x86-64_rpm.tar.gz && \ tar -zxvf /tmp/LibreOffice/LibreOffice.tar.gz -C /tmp/LibreOffice/LibreOffice/ --strip-components 1 && \ yum -y install /tmp/LibreOffice/LibreOffice/RPMS/*.rpm && \ mkdir -p /tmp/LibreOffice/langpack_zh-CN && \ - wget -O /tmp/LibreOffice/langpack_zh-CN.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.2/rpm/x86_64/LibreOffice_24.8.2_Linux_x86-64_rpm_langpack_zh-CN.tar.gz && \ + wget -O /tmp/LibreOffice/langpack_zh-CN.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.5/rpm/x86_64/LibreOffice_24.8.5_Linux_x86-64_rpm_langpack_zh-CN.tar.gz && \ tar -zxvf /tmp/LibreOffice/langpack_zh-CN.tar.gz -C /tmp/LibreOffice/langpack_zh-CN/ --strip-components 1 && \ yum -y install /tmp/LibreOffice/langpack_zh-CN/RPMS/*.rpm && \ mkdir -p /tmp/LibreOffice/helppack_zh-CN && \ - wget -O /tmp/LibreOffice/helppack_zh-CN.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.2/rpm/x86_64/LibreOffice_24.8.2_Linux_x86-64_rpm_helppack_zh-CN.tar.gz && \ + wget -O /tmp/LibreOffice/helppack_zh-CN.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.5/rpm/x86_64/LibreOffice_24.8.5_Linux_x86-64_rpm_helppack_zh-CN.tar.gz && \ tar -zxvf /tmp/LibreOffice/helppack_zh-CN.tar.gz -C /tmp/LibreOffice/helppack_zh-CN/ --strip-components 1 && \ yum -y install /tmp/LibreOffice/helppack_zh-CN/RPMS/*.rpm && \ rm -rf /tmp/LibreOffice @@ -62,4 +62,4 @@ USER user WORKDIR /home/user/comps/dataprep/redis/langchain -ENTRYPOINT ["python", "prepare_doc_redis.py"] \ No newline at end of file +ENTRYPOINT ["python", "prepare_doc_redis.py"] -- Gitee From 01b0277d60f21ed7b746e16b00aa88e669739d8f Mon Sep 17 00:00:00 2001 From: zhihang Date: Wed, 12 Mar 2025 06:51:25 +0000 Subject: [PATCH 3/3] remove all Dockerfile for OPEA --- agent-langchain/0.3.0/24.03-lts/Dockerfile | 34 ---------- agent-langchain/meta.yml | 3 - .../1.0/24.03-lts/Dockerfile | 30 --------- chatqna-conversation-ui/1.0/24.03-lts/env.sh | 15 ----- .../1.0/24.03-lts/nginx.conf | 20 ------ chatqna-conversation-ui/meta.yml | 3 - chatqna-ui/1.0/24.03-lts/Dockerfile | 31 --------- chatqna-ui/meta.yml | 2 - chatqna/1.0/24.03-lts/Dockerfile | 38 ----------- chatqna/meta.yml | 2 - codegen-ui/1.0/24.03-lts/Dockerfile | 31 --------- codegen-ui/meta.yml | 3 - codegen/1.0/24.03-lts/Dockerfile | 40 ------------ codegen/meta.yml | 3 - codetrans-ui/1.0/24.03-lts/Dockerfile | 28 -------- codetrans-ui/meta.yml | 3 - codetrans/1.0/24.03-lts/Dockerfile | 38 ----------- codetrans/meta.yml | 3 - .../0.3.0-redis5.0.8/24.03-lts/Dockerfile | 65 ------------------- dataprep-redis-langchain/meta.yml | 3 - docsum-ui/1.0/24.03-lts/Dockerfile | 31 --------- docsum-ui/meta.yml | 2 - docsum/1.0/24.03-lts/Dockerfile | 38 ----------- docsum/meta.yml | 2 - .../0.3.0/24.03-lts/Dockerfile | 48 -------------- embedding-tei-langchain/meta.yml | 2 - faqgen-ui/1.0/24.03-lts/Dockerfile | 28 -------- faqgen-ui/meta.yml | 3 - faqgen/1.0/24.03-lts/Dockerfile | 39 ----------- faqgen/meta.yml | 3 - .../0.3.0/24.03-lts/Dockerfile | 37 ----------- llm-docsum-tgi-langchain/meta.yml | 3 - .../0.3.0/24.03-lts/Dockerfile | 33 ---------- llm-faqgen-tgi-langchain/meta.yml | 3 - llm-tgi/1.0/24.03-lts/Dockerfile | 33 ---------- llm-tgi/meta.yml | 3 - .../0.3.3-npu/24.03-lts/Dockerfile | 64 ------------------ llm-vllm-langchain/0.3.3/24.03-lts/Dockerfile | 40 ------------ llm-vllm-langchain/meta.yml | 5 -- reranking-tei/1.0/24.03-lts/Dockerfile | 49 -------------- reranking-tei/meta.yml | 2 - .../0.3.0-redis5.0.8/24.03-lts/Dockerfile | 37 ----------- retriever-redis-langchain/meta.yml | 3 - searchqna-ui/1.0/24.03-lts/Dockerfile | 31 --------- searchqna-ui/meta.yml | 2 - searchqna/1.0/24.03-lts/Dockerfile | 36 ---------- searchqna/meta.yml | 2 - translation-ui/1.0/24.03-lts/Dockerfile | 32 --------- translation-ui/meta.yml | 3 - translation/1.0/24.03-lts/Dockerfile | 47 -------------- translation/meta.yml | 3 - .../0.3.0-chromadb0.5.7/24.03-lts/Dockerfile | 40 ------------ web-retriever-chroma-langchain/meta.yml | 3 - 53 files changed, 1102 deletions(-) delete mode 100644 agent-langchain/0.3.0/24.03-lts/Dockerfile delete mode 100644 agent-langchain/meta.yml delete mode 100644 chatqna-conversation-ui/1.0/24.03-lts/Dockerfile delete mode 100644 chatqna-conversation-ui/1.0/24.03-lts/env.sh delete mode 100644 chatqna-conversation-ui/1.0/24.03-lts/nginx.conf delete mode 100644 chatqna-conversation-ui/meta.yml delete mode 100644 chatqna-ui/1.0/24.03-lts/Dockerfile delete mode 100644 chatqna-ui/meta.yml delete mode 100644 chatqna/1.0/24.03-lts/Dockerfile delete mode 100644 chatqna/meta.yml delete mode 100644 codegen-ui/1.0/24.03-lts/Dockerfile delete mode 100644 codegen-ui/meta.yml delete mode 100644 codegen/1.0/24.03-lts/Dockerfile delete mode 100644 codegen/meta.yml delete mode 100644 codetrans-ui/1.0/24.03-lts/Dockerfile delete mode 100644 codetrans-ui/meta.yml delete mode 100644 codetrans/1.0/24.03-lts/Dockerfile delete mode 100644 codetrans/meta.yml delete mode 100644 dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile delete mode 100644 dataprep-redis-langchain/meta.yml delete mode 100644 docsum-ui/1.0/24.03-lts/Dockerfile delete mode 100644 docsum-ui/meta.yml delete mode 100644 docsum/1.0/24.03-lts/Dockerfile delete mode 100644 docsum/meta.yml delete mode 100644 embedding-tei-langchain/0.3.0/24.03-lts/Dockerfile delete mode 100644 embedding-tei-langchain/meta.yml delete mode 100644 faqgen-ui/1.0/24.03-lts/Dockerfile delete mode 100644 faqgen-ui/meta.yml delete mode 100644 faqgen/1.0/24.03-lts/Dockerfile delete mode 100644 faqgen/meta.yml delete mode 100644 llm-docsum-tgi-langchain/0.3.0/24.03-lts/Dockerfile delete mode 100644 llm-docsum-tgi-langchain/meta.yml delete mode 100644 llm-faqgen-tgi-langchain/0.3.0/24.03-lts/Dockerfile delete mode 100644 llm-faqgen-tgi-langchain/meta.yml delete mode 100644 llm-tgi/1.0/24.03-lts/Dockerfile delete mode 100644 llm-tgi/meta.yml delete mode 100644 llm-vllm-langchain/0.3.3-npu/24.03-lts/Dockerfile delete mode 100644 llm-vllm-langchain/0.3.3/24.03-lts/Dockerfile delete mode 100644 llm-vllm-langchain/meta.yml delete mode 100644 reranking-tei/1.0/24.03-lts/Dockerfile delete mode 100644 reranking-tei/meta.yml delete mode 100644 retriever-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile delete mode 100644 retriever-redis-langchain/meta.yml delete mode 100644 searchqna-ui/1.0/24.03-lts/Dockerfile delete mode 100644 searchqna-ui/meta.yml delete mode 100644 searchqna/1.0/24.03-lts/Dockerfile delete mode 100644 searchqna/meta.yml delete mode 100644 translation-ui/1.0/24.03-lts/Dockerfile delete mode 100644 translation-ui/meta.yml delete mode 100644 translation/1.0/24.03-lts/Dockerfile delete mode 100644 translation/meta.yml delete mode 100644 web-retriever-chroma-langchain/0.3.0-chromadb0.5.7/24.03-lts/Dockerfile delete mode 100644 web-retriever-chroma-langchain/meta.yml diff --git a/agent-langchain/0.3.0/24.03-lts/Dockerfile b/agent-langchain/0.3.0/24.03-lts/Dockerfile deleted file mode 100644 index 5ccd0e1c..00000000 --- a/agent-langchain/0.3.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y \ - --setopt=install_weak_deps=False \ - python-pip python \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user -RUN git clone https://github.com/opea-project/GenAIComps.git - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/DocSum/docsum.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=/usr/bin/python:/home/user/GenAIComps - -ENTRYPOINT ["python", "docsum.py"] diff --git a/agent-langchain/meta.yml b/agent-langchain/meta.yml deleted file mode 100644 index bef603ca..00000000 --- a/agent-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: agent-langchain/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/chatqna-conversation-ui/1.0/24.03-lts/Dockerfile b/chatqna-conversation-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index eacfe6db..00000000 --- a/chatqna-conversation-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts as vite-app - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - git \ - npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -WORKDIR /home/user/GenAIExamples/ChatQnA/ui/react - -RUN ["npm", "install"] -RUN ["npm", "run", "build"] - -FROM openeuler/nginx:1.27.2-oe2403lts - -COPY --from=vite-app /home/user/GenAIExamples/ChatQnA/ui/react/dist /usr/local/nginx/html - -COPY env.sh /docker-entrypoint.d/env.sh - -COPY nginx.conf /etc/nginx/conf.d/default.conf -RUN chmod +x /docker-entrypoint.d/env.sh \ No newline at end of file diff --git a/chatqna-conversation-ui/1.0/24.03-lts/env.sh b/chatqna-conversation-ui/1.0/24.03-lts/env.sh deleted file mode 100644 index b9660aab..00000000 --- a/chatqna-conversation-ui/1.0/24.03-lts/env.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -for i in $(env | grep APP_) #// Make sure to use the prefix MY_APP_ if you have any other prefix in env.production file variable name replace it with MY_APP_ -do - key=$(echo $i | cut -d '=' -f 1) - value=$(echo $i | cut -d '=' -f 2-) - echo $key=$value - # sed All files - # find /usr/share/nginx/html -type f -exec sed -i "s|${key}|${value}|g" '{}' + - - # sed JS and CSS only - find /usr/local/nginx/html -type f \( -name '*.js' -o -name '*.css' \) -exec sed -i "s|${key}|${value}|g" '{}' + -done diff --git a/chatqna-conversation-ui/1.0/24.03-lts/nginx.conf b/chatqna-conversation-ui/1.0/24.03-lts/nginx.conf deleted file mode 100644 index fa220eb7..00000000 --- a/chatqna-conversation-ui/1.0/24.03-lts/nginx.conf +++ /dev/null @@ -1,20 +0,0 @@ -server { - listen 80; - - gzip on; - gzip_proxied any; - gzip_comp_level 6; - gzip_buffers 16 8k; - gzip_http_version 1.1; - gzip_types font/woff2 text/css application/javascript application/json application/font-woff application/font-tff image/gif image/png image/svg+xml application/octet-stream; - - location / { - root /usr/local/nginx/html; - index index.html index.htm; - try_files $uri $uri/ /index.html =404; - - location ~* \.(gif|jpe?g|png|webp|ico|svg|css|js|mp4|woff2)$ { - expires 1d; - } - } -} \ No newline at end of file diff --git a/chatqna-conversation-ui/meta.yml b/chatqna-conversation-ui/meta.yml deleted file mode 100644 index 09e4737b..00000000 --- a/chatqna-conversation-ui/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: chatqna-conversation-ui/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/chatqna-ui/1.0/24.03-lts/Dockerfile b/chatqna-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index fb3626ad..00000000 --- a/chatqna-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - git \ - npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/ChatQnA/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/chatqna-ui/meta.yml b/chatqna-ui/meta.yml deleted file mode 100644 index 05addfa6..00000000 --- a/chatqna-ui/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: chatqna-ui/1.0/24.03-lts/Dockerfile \ No newline at end of file diff --git a/chatqna/1.0/24.03-lts/Dockerfile b/chatqna/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 8f3a7b81..00000000 --- a/chatqna/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ - - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/ChatQnA/chatqna.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=/usr/bin/python:/home/user/GenAIComps - -USER user - -RUN echo 'ulimit -S -n 999999' >> ~/.bashrc - -ENTRYPOINT ["python", "chatqna.py"] diff --git a/chatqna/meta.yml b/chatqna/meta.yml deleted file mode 100644 index 0e837daf..00000000 --- a/chatqna/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: chatqna/1.0/24.03-lts/Dockerfile diff --git a/codegen-ui/1.0/24.03-lts/Dockerfile b/codegen-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 217ab697..00000000 --- a/codegen-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - git \ - npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/CodeGen/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/codegen-ui/meta.yml b/codegen-ui/meta.yml deleted file mode 100644 index 8352c985..00000000 --- a/codegen-ui/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: codegen-ui/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/codegen/1.0/24.03-lts/Dockerfile b/codegen/1.0/24.03-lts/Dockerfile deleted file mode 100644 index fc5aac8b..00000000 --- a/codegen/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ - - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ENV LANG=C.UTF-8 - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/CodeGen/codegen.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=/usr/bin/python:/home/user/GenAIComps - -USER user - -WORKDIR /home/user - -ENTRYPOINT ["python", "codegen.py"] diff --git a/codegen/meta.yml b/codegen/meta.yml deleted file mode 100644 index d9e0a7d4..00000000 --- a/codegen/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: codegen/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/codetrans-ui/1.0/24.03-lts/Dockerfile b/codetrans-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index ca3cade6..00000000 --- a/codetrans-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && yum install -y git npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/CodeTrans/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/codetrans-ui/meta.yml b/codetrans-ui/meta.yml deleted file mode 100644 index b744b447..00000000 --- a/codetrans-ui/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: codetrans-ui/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/codetrans/1.0/24.03-lts/Dockerfile b/codetrans/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 3f45677c..00000000 --- a/codetrans/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ - - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/CodeTrans/code_translation.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=/usr/bin/python:/home/user/GenAIComps - -USER user - -WORKDIR /home/user - -ENTRYPOINT ["python", "code_translation.py"] diff --git a/codetrans/meta.yml b/codetrans/meta.yml deleted file mode 100644 index 6985ae55..00000000 --- a/codetrans/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: codetrans/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile b/dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile deleted file mode 100644 index befe12fe..00000000 --- a/dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ENV LANG=C.UTF-8 - -ARG ARCH="cpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - wget \ - java-11-openjdk \ - mesa-libGL \ - shadow-utils \ - jemalloc jemalloc-devel \ - poppler-utils \ - python-pip python \ - tesseract \ - tesseract-langpack-eng \ - git - - -RUN mkdir -p /tmp/LibreOffice/LibreOffice && \ - wget -O /tmp/LibreOffice/LibreOffice.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.5/rpm/x86_64/LibreOffice_24.8.5_Linux_x86-64_rpm.tar.gz && \ - tar -zxvf /tmp/LibreOffice/LibreOffice.tar.gz -C /tmp/LibreOffice/LibreOffice/ --strip-components 1 && \ - yum -y install /tmp/LibreOffice/LibreOffice/RPMS/*.rpm && \ - mkdir -p /tmp/LibreOffice/langpack_zh-CN && \ - wget -O /tmp/LibreOffice/langpack_zh-CN.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.5/rpm/x86_64/LibreOffice_24.8.5_Linux_x86-64_rpm_langpack_zh-CN.tar.gz && \ - tar -zxvf /tmp/LibreOffice/langpack_zh-CN.tar.gz -C /tmp/LibreOffice/langpack_zh-CN/ --strip-components 1 && \ - yum -y install /tmp/LibreOffice/langpack_zh-CN/RPMS/*.rpm && \ - mkdir -p /tmp/LibreOffice/helppack_zh-CN && \ - wget -O /tmp/LibreOffice/helppack_zh-CN.tar.gz https://mirrors.cloud.tencent.com/libreoffice/libreoffice/stable/24.8.5/rpm/x86_64/LibreOffice_24.8.5_Linux_x86-64_rpm_helppack_zh-CN.tar.gz && \ - tar -zxvf /tmp/LibreOffice/helppack_zh-CN.tar.gz -C /tmp/LibreOffice/helppack_zh-CN/ --strip-components 1 && \ - yum -y install /tmp/LibreOffice/helppack_zh-CN/RPMS/*.rpm && \ - rm -rf /tmp/LibreOffice - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip setuptools && \ - if [ ${ARCH} = "cpu" ]; then pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \ - pip install --no-cache-dir -r /home/user/comps/dataprep/redis/langchain/requirements.txt - -ENV PYTHONPATH=/usr/bin/python:/home/user - -USER root - -RUN mkdir -p /home/user/comps/dataprep/redis/langchain/uploaded_files && chown -R user /home/user/comps/dataprep/redis/langchain/uploaded_files - -USER user - -WORKDIR /home/user/comps/dataprep/redis/langchain - -ENTRYPOINT ["python", "prepare_doc_redis.py"] diff --git a/dataprep-redis-langchain/meta.yml b/dataprep-redis-langchain/meta.yml deleted file mode 100644 index 16820702..00000000 --- a/dataprep-redis-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -0.3.0-redis5.0.8-oe2403lts: - path: dataprep-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/docsum-ui/1.0/24.03-lts/Dockerfile b/docsum-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 278871d5..00000000 --- a/docsum-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - git \ - npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/DocSum/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/docsum-ui/meta.yml b/docsum-ui/meta.yml deleted file mode 100644 index bd1d176b..00000000 --- a/docsum-ui/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: docsum-ui/1.0/24.03-lts/Dockerfile diff --git a/docsum/1.0/24.03-lts/Dockerfile b/docsum/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 8be51f87..00000000 --- a/docsum/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ - - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/DocSum/docsum.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=$PYTHONPATH:/home/user/GenAIComps - -USER user - -WORKDIR /home/user - -ENTRYPOINT ["python", "docsum.py"] diff --git a/docsum/meta.yml b/docsum/meta.yml deleted file mode 100644 index 51e1f507..00000000 --- a/docsum/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: docsum/1.0/24.03-lts/Dockerfile diff --git a/embedding-tei-langchain/0.3.0/24.03-lts/Dockerfile b/embedding-tei-langchain/0.3.0/24.03-lts/Dockerfile deleted file mode 100644 index 9e3e6fc5..00000000 --- a/embedding-tei-langchain/0.3.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 -FROM openeuler/openeuler:24.03-lts - -ARG ARCH="cpu" - -RUN yum update -y && \ - yum install -y \ - --setopt=install_weak_deps=False \ - python3-pip python3-devel \ - cmake gcc-c++ git \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN cd /tmp && git clone --depth 1 https://github.com/trimesh/vhacdx && cd vhacdx && \ - CFLAGS="-I /tmp/vhacdx" pip3 install . && \ - rm -rf /tmp/vhacdx - -RUN pip3 install scikit-build-core numpy && \ - cd /tmp && git clone --depth 1 https://github.com/elalish/manifold.git && \ - cd manifold && git clone --depth 1 --branch v2021.10.0 https://github.com/oneapi-src/oneTBB.git && \ - pip3 install --upgrade pip setuptools wheel build nanobind ninja && \ - pip install "nanobind>=1.8.0,<=2.2.0" && \ - python3 -m build --no-isolation --sdist --wheel && \ - pip3 install dist/manifold3d-*.whl - -WORKDIR /home/user/ - -RUN git clone --depth=1 --branch v1.0 https://github.com/opea-project/GenAIComps.git && \ - cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -RUN if [ ${ARCH} = "cpu" ]; then pip3 install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu; fi && \ -pip3 install --no-cache-dir -r /home/user/comps/embeddings/tei/langchain/requirements.txt - -ENV PYTHONPATH=/usr/bin/python3:/home/user - -WORKDIR /home/user/comps/embeddings/tei/langchain - -ENTRYPOINT ["python3", "embedding_tei.py"] diff --git a/embedding-tei-langchain/meta.yml b/embedding-tei-langchain/meta.yml deleted file mode 100644 index a91280ca..00000000 --- a/embedding-tei-langchain/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -0.3.0-oe2403lts: - path: embedding-tei-langchain/0.3.0/24.03-lts/Dockerfile \ No newline at end of file diff --git a/faqgen-ui/1.0/24.03-lts/Dockerfile b/faqgen-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 84139439..00000000 --- a/faqgen-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && yum install -y git npm - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/FaqGen/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/faqgen-ui/meta.yml b/faqgen-ui/meta.yml deleted file mode 100644 index a9ddecf5..00000000 --- a/faqgen-ui/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: faqgen-ui/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/faqgen/1.0/24.03-lts/Dockerfile b/faqgen/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 411d8bfb..00000000 --- a/faqgen/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,39 +0,0 @@ - - -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - - -RUN yum update -y && yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -RUN cp GenAIExamples/FaqGen/faqgen.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=$PYTHONPATH:/home/user/GenAIComps - -USER user - -WORKDIR /home/user - -ENTRYPOINT ["python", "faqgen.py"] diff --git a/faqgen/meta.yml b/faqgen/meta.yml deleted file mode 100644 index 385daeb3..00000000 --- a/faqgen/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: faqgen/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/llm-docsum-tgi-langchain/0.3.0/24.03-lts/Dockerfile b/llm-docsum-tgi-langchain/0.3.0/24.03-lts/Dockerfile deleted file mode 100644 index 5665f56b..00000000 --- a/llm-docsum-tgi-langchain/0.3.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ARG PLATFORM="cpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip && \ - if [ ${PLATFORM} = "cpu" ]; then pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \ - pip install --no-cache-dir -r /home/user/comps/llms/summarization/tgi/langchain/requirements.txt - -ENV PYTHONPATH=$PYTHONPATH:/home/user - -WORKDIR /home/user/comps/llms/summarization/tgi/langchain - -ENTRYPOINT ["bash", "entrypoint.sh"] diff --git a/llm-docsum-tgi-langchain/meta.yml b/llm-docsum-tgi-langchain/meta.yml deleted file mode 100644 index c0e12e35..00000000 --- a/llm-docsum-tgi-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -0.3.0-oe2403lts: - path: llm-docsum-tgi-langchain/0.3.0/24.03-lts/Dockerfile - arch: x86_64 diff --git a/llm-faqgen-tgi-langchain/0.3.0/24.03-lts/Dockerfile b/llm-faqgen-tgi-langchain/0.3.0/24.03-lts/Dockerfile deleted file mode 100644 index 279a1ef9..00000000 --- a/llm-faqgen-tgi-langchain/0.3.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip setuptools && \ - pip install --no-cache-dir -r /home/user/comps/llms/faq-generation/tgi/langchain/requirements.txt - -ENV PYTHONPATH=$PYTHONPATH:/home/user - -WORKDIR /home/user/comps/llms/faq-generation/tgi/langchain - -ENTRYPOINT ["bash", "entrypoint.sh"] diff --git a/llm-faqgen-tgi-langchain/meta.yml b/llm-faqgen-tgi-langchain/meta.yml deleted file mode 100644 index 2ac0967c..00000000 --- a/llm-faqgen-tgi-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -0.3.0-oe2403lts: - path: llm-faqgen-tgi-langchain/0.3.0/24.03-lts/Dockerfile - arch: x86_64 diff --git a/llm-tgi/1.0/24.03-lts/Dockerfile b/llm-tgi/1.0/24.03-lts/Dockerfile deleted file mode 100644 index b39bcc81..00000000 --- a/llm-tgi/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip setuptools && \ - pip install --no-cache-dir -r /home/user/comps/llms/text-generation/tgi/requirements.txt - -ENV PYTHONPATH=/usr/bin/python:/home/user - -WORKDIR /home/user/comps/llms/text-generation/tgi - -ENTRYPOINT ["bash", "entrypoint.sh"] diff --git a/llm-tgi/meta.yml b/llm-tgi/meta.yml deleted file mode 100644 index 5d5b47f7..00000000 --- a/llm-tgi/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: llm-tgi/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/llm-vllm-langchain/0.3.3-npu/24.03-lts/Dockerfile b/llm-vllm-langchain/0.3.3-npu/24.03-lts/Dockerfile deleted file mode 100644 index 5b01ae74..00000000 --- a/llm-vllm-langchain/0.3.3-npu/24.03-lts/Dockerfile +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 -FROM openeuler/openeuler:22.03-lts - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python python3-devel \ - cmake gcc-c++ \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone --depth=1 --branch v1.0 https://github.com/opea-project/GenAIComps.git && \ - cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN cd /tmp && git clone --depth 1 https://github.com/trimesh/vhacdx && cd vhacdx && \ - CFLAGS="-I /tmp/vhacdx" pip install . && \ - rm -rf /tmp/vhacdx - -RUN python -m pip install scikit-build-core numpy && \ - cd /tmp && git clone --depth 1 https://github.com/elalish/manifold.git && \ - cd manifold && git clone --depth 1 --branch v2021.10.0 https://github.com/oneapi-src/oneTBB.git && \ - python -m pip install --upgrade pip setuptools wheel build nanobind ninja && \ - python -m build --no-isolation --sdist --wheel && \ - python -m pip install dist/manifold3d-*.whl && \ - rm -rf /tmp/manifold - -RUN python3 -m pip install --no-cache-dir --upgrade pip && \ - python3 -m pip install --no-cache-dir \ - fastapi \ - huggingface_hub \ - langchain \ - langchain-huggingface \ - langchain-openai \ - langchain_community \ - langchainhub \ - opentelemetry-api \ - opentelemetry-exporter-otlp \ - opentelemetry-sdk \ - prometheus-fastapi-instrumentator \ - shortuuid \ - transformers \ - uvicorn - -RUN pip3 install docarray[full] -RUN git clone -b npu_support --depth 1 https://github.com/wangshuai09/vllm.git -RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" python3 -m pip install -r ./vllm/requirements-build.txt -RUN PIP_EXTRA_INDEX_URL="https://download.pytorch.org/whl/cpu" VLLM_TARGET_DEVICE="npu" python3 -m pip install ./vllm/ && \ - rm -rf ./vllm - -ENV PYTHONPATH=/usr/bin/python:/home/user -WORKDIR /home/user/comps/llms/text-generation/vllm/langchain - -ENTRYPOINT ["bash", "entrypoint.sh"] diff --git a/llm-vllm-langchain/0.3.3/24.03-lts/Dockerfile b/llm-vllm-langchain/0.3.3/24.03-lts/Dockerfile deleted file mode 100644 index 4dd93f48..00000000 --- a/llm-vllm-langchain/0.3.3/24.03-lts/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ARG ARCH="cpu" # Set this to "cpu" or "gpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip && \ - if [ ${ARCH} = "cpu" ]; then \ - pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu -r /home/user/comps/llms/text-generation/vllm/langchain/requirements.txt; \ - else \ - pip install --no-cache-dir -r /home/user/comps/llms/text-generation/vllm/langchain/requirements.txt; \ - fi - -ENV PYTHONPATH=/usr/bin/python:/home/user - -WORKDIR /home/user/comps/llms/text-generation/vllm/langchain - -ENTRYPOINT ["bash", "entrypoint.sh"] diff --git a/llm-vllm-langchain/meta.yml b/llm-vllm-langchain/meta.yml deleted file mode 100644 index 003354fc..00000000 --- a/llm-vllm-langchain/meta.yml +++ /dev/null @@ -1,5 +0,0 @@ -0.3.3-oe2403lts: - path: llm-vllm-langchain/0.3.3/24.03-lts/Dockerfile - arch: x86_64 -0.3.3-npu-oe2203lts: - path: llm-vllm-langchain/0.3.3-npu/24.03-lts/Dockerfile \ No newline at end of file diff --git a/reranking-tei/1.0/24.03-lts/Dockerfile b/reranking-tei/1.0/24.03-lts/Dockerfile deleted file mode 100644 index ee09dd44..00000000 --- a/reranking-tei/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ARG ARCH="cpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python python3-devel \ - cmake gcc-c++ git \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN cd /tmp && git clone --depth 1 https://github.com/trimesh/vhacdx && cd vhacdx && \ - CFLAGS="-I /tmp/vhacdx" pip install . && \ - rm -rf /tmp/vhacdx - -RUN python -m pip install scikit-build-core numpy && \ - cd /tmp && git clone --depth 1 https://github.com/elalish/manifold.git && \ - cd manifold && git clone --depth 1 --branch v2021.10.0 https://github.com/oneapi-src/oneTBB.git && \ - python -m pip install --upgrade pip setuptools wheel build nanobind ninja && \ - python -m build --no-isolation --sdist --wheel && \ - python -m pip install dist/manifold3d-*.whl && \ - rm -rf /tmp/manifold - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone --depth=1 --branch v1.0 https://github.com/opea-project/GenAIComps.git && \ - cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip && \ - if [ ${ARCH} = "cpu" ]; then pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu; fi && \ - pip install --no-cache-dir -r /home/user/comps/reranks/tei/requirements.txt - -ENV PYTHONPATH=/usr/bin/python:/home/user - -WORKDIR /home/user/comps/reranks/tei - -ENTRYPOINT ["python", "reranking_tei.py"] diff --git a/reranking-tei/meta.yml b/reranking-tei/meta.yml deleted file mode 100644 index 3423455e..00000000 --- a/reranking-tei/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: reranking-tei/1.0/24.03-lts/Dockerfile \ No newline at end of file diff --git a/retriever-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile b/retriever-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile deleted file mode 100644 index ca061bb6..00000000 --- a/retriever-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ARG ARCH="cpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip && \ - if [ ${ARCH} = "cpu" ]; then pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu; fi && \ - pip install --no-cache-dir -r /home/user/comps/retrievers/redis/langchain/requirements.txt - -ENV PYTHONPATH=/usr/bin/python:/home/user - -WORKDIR /home/user/comps/retrievers/redis/langchain - -ENTRYPOINT ["python", "retriever_redis.py"] diff --git a/retriever-redis-langchain/meta.yml b/retriever-redis-langchain/meta.yml deleted file mode 100644 index 86c59895..00000000 --- a/retriever-redis-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -0.3.0-redis5.0.8-oe2403lts: - path: retriever-redis-langchain/0.3.0-redis5.0.8/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/searchqna-ui/1.0/24.03-lts/Dockerfile b/searchqna-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 2b2d4222..00000000 --- a/searchqna-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - npm \ - git - -WORKDIR /home/user - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/SearchQnA/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] \ No newline at end of file diff --git a/searchqna-ui/meta.yml b/searchqna-ui/meta.yml deleted file mode 100644 index 5ffeedf0..00000000 --- a/searchqna-ui/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: searchqna-ui/1.0/24.03-lts/Dockerfile diff --git a/searchqna/1.0/24.03-lts/Dockerfile b/searchqna/1.0/24.03-lts/Dockerfile deleted file mode 100644 index b77d3b5f..00000000 --- a/searchqna/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/SearchQnA/searchqna.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=$PYTHONPATH:/home/user/GenAIComps - -USER user - -WORKDIR /home/user - -ENTRYPOINT ["python", "searchqna.py"] diff --git a/searchqna/meta.yml b/searchqna/meta.yml deleted file mode 100644 index fede55bd..00000000 --- a/searchqna/meta.yml +++ /dev/null @@ -1,2 +0,0 @@ -1.0-oe2403lts: - path: searchqna/1.0/24.03-lts/Dockerfile diff --git a/translation-ui/1.0/24.03-lts/Dockerfile b/translation-ui/1.0/24.03-lts/Dockerfile deleted file mode 100644 index c41e5086..00000000 --- a/translation-ui/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -# Use node 20.11.1 as the base image -FROM openeuler/openeuler:24.03-lts - -# Update package manager and install Git -RUN yum update -y && \ - yum install -y \ - --setopt=install_weak_deps=False \ - npm \ - git - -WORKDIR /home/user/ - -# Copy the front-end code repository -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 - -# Set the working directory -WORKDIR /home/user/GenAIExamples/Translation/ui/svelte - -# Install front-end dependencies -RUN npm install - -# Build the front-end application -RUN npm run build - -# Expose the port of the front-end application -EXPOSE 5173 - -# Run the front-end application in preview mode -CMD ["npm", "run", "preview", "--", "--port", "5173", "--host", "0.0.0.0"] diff --git a/translation-ui/meta.yml b/translation-ui/meta.yml deleted file mode 100644 index fded9031..00000000 --- a/translation-ui/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: translation-ui/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/translation/1.0/24.03-lts/Dockerfile b/translation/1.0/24.03-lts/Dockerfile deleted file mode 100644 index 493eb7bb..00000000 --- a/translation/1.0/24.03-lts/Dockerfile +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright (c) 2024 Intel Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - - -FROM openeuler/openeuler:24.03-lts - -RUN yum update -y && \ - yum install -y \ - --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -WORKDIR /home/user/GenAIComps -RUN pip install --no-cache-dir --upgrade pip && \ - pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt - -WORKDIR /home/user/ -RUN git clone https://github.com/opea-project/GenAIExamples.git && cd GenAIExamples && git checkout v1.0 -RUN cp GenAIExamples/Translation/translation.py . -RUN rm -rf GenAIExamples - -ENV PYTHONPATH=$PYTHONPATH:/home/user/GenAIComps - -ENTRYPOINT ["python", "translation.py"] diff --git a/translation/meta.yml b/translation/meta.yml deleted file mode 100644 index ec4a3517..00000000 --- a/translation/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -1.0-oe2403lts: - path: translation/1.0/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file diff --git a/web-retriever-chroma-langchain/0.3.0-chromadb0.5.7/24.03-lts/Dockerfile b/web-retriever-chroma-langchain/0.3.0-chromadb0.5.7/24.03-lts/Dockerfile deleted file mode 100644 index 61056432..00000000 --- a/web-retriever-chroma-langchain/0.3.0-chromadb0.5.7/24.03-lts/Dockerfile +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright (C) 2024 Intel Corporation -# SPDX-License-Identifier: Apache-2.0 - -FROM openeuler/openeuler:24.03-lts - -ARG ARCH="cpu" # Set this to "cpu" or "gpu" - -RUN yum update -y && \ - yum install -y --setopt=install_weak_deps=False \ - python-pip python \ - shadow-utils \ - mesa-libGL \ - jemalloc-devel \ - git - -RUN useradd -m -s /bin/bash user && \ - mkdir -p /home/user && \ - chown -R user /home/user/ - -USER user - -WORKDIR /home/user/ - -RUN git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout v1.0 - -RUN cp -r GenAIComps/comps . && \ - rm -rf GenAIComps - -RUN pip install --no-cache-dir --upgrade pip && \ - if [ ${ARCH} = "cpu" ]; then \ - pip install --no-cache-dir --extra-index-url https://download.pytorch.org/whl/cpu -r /home/user/comps/web_retrievers/chroma/langchain/requirements.txt; \ - else \ - pip install --no-cache-dir -r /home/user/comps/web_retrievers/chroma/langchain/requirements.txt; \ - fi - -ENV PYTHONPATH=$PYTHONPATH:/home/user - -WORKDIR /home/user/comps/web_retrievers/chroma/langchain - -ENTRYPOINT ["python", "retriever_chroma.py"] diff --git a/web-retriever-chroma-langchain/meta.yml b/web-retriever-chroma-langchain/meta.yml deleted file mode 100644 index 84403b10..00000000 --- a/web-retriever-chroma-langchain/meta.yml +++ /dev/null @@ -1,3 +0,0 @@ -0.3.0-chromadb0.5.7-oe2403lts: - path: web-retriever-chroma-langchain/0.3.0-chromadb0.5.7/24.03-lts/Dockerfile - arch: x86_64 \ No newline at end of file -- Gitee