From 4470627f951a9b6cca4e7ea43875c35ee21f0f8c Mon Sep 17 00:00:00 2001 From: zhihang Date: Mon, 25 Aug 2025 07:09:36 +0000 Subject: [PATCH] update comps-base to 1.4 Signed-off-by: zhihang --- AI/image-list.yml | 5 +++ AI/opea/comps-base/1.4/24.03-lts/Dockerfile | 40 +++++++++++++++++++++ AI/opea/comps-base/meta.yml | 4 +++ 3 files changed, 49 insertions(+) create mode 100644 AI/opea/comps-base/1.4/24.03-lts/Dockerfile diff --git a/AI/image-list.yml b/AI/image-list.yml index 373fef19..f57b77a5 100644 --- a/AI/image-list.yml +++ b/AI/image-list.yml @@ -1,5 +1,10 @@ images: codegen-gradio-ui: opea/codegen-gradio-ui + multimodalqna: opea/multimodalqna + multimodalqna-ui: opea/multimodalqna-ui + lvm-llava: opea/lvm-llava + embedding-multimodal-bridgetower: opea/embedding-multimodal-bridgetower + comps-base: opea/comps-base kserve-huggingfaceserver: kserve/huggingfaceserver kserve-controller: kserve/controller kserve-agent: kserve/agent diff --git a/AI/opea/comps-base/1.4/24.03-lts/Dockerfile b/AI/opea/comps-base/1.4/24.03-lts/Dockerfile new file mode 100644 index 00000000..0e786004 --- /dev/null +++ b/AI/opea/comps-base/1.4/24.03-lts/Dockerfile @@ -0,0 +1,40 @@ +ARG IMAGE_NAME=openeuler/python +ARG IMAGE_TAG=3.11.13-oe2403lts +ARG VERSION=v1.4 + +FROM ${IMAGE_NAME}:${IMAGE_TAG} AS base + +ARG VERSION +ENV HOME=/home/user + +RUN yum update -y && \ + yum install -y shadow git && \ + yum clean all && \ + rm -rf /var/cache/yum + +RUN useradd -m -s /bin/bash user && \ + mkdir -p $HOME && \ + chown -R user $HOME + +WORKDIR $HOME + +ARG GENAICOMPS_REPO=https://github.com/opea-project/GenAIComps.git +RUN git clone -b $VERSION $GENAICOMPS_REPO && \ + cp -r GenAIComps/*.toml ./ && \ + cp -r GenAIComps/*.py ./ && \ + cp -r GenAIComps/*.txt ./ && \ + cp -r GenAIComps/*.md ./ && \ + cp -r GenAIComps/LICENSE ./ && \ + cp -r GenAIComps/comps ./comps && \ + rm -rf GenAIComps + + +ARG uvpip='uv pip install --system --no-cache-dir' +RUN pip install --no-cache-dir --upgrade pip setuptools uv && \ + $uvpip -r requirements.txt + +ENV PYTHONPATH=$PYTHONPATH:$HOME + +USER user + +ENTRYPOINT ["sh", "-c", "set && ls -la"] \ No newline at end of file diff --git a/AI/opea/comps-base/meta.yml b/AI/opea/comps-base/meta.yml index 6a20bf64..78710eea 100644 --- a/AI/opea/comps-base/meta.yml +++ b/AI/opea/comps-base/meta.yml @@ -1,3 +1,7 @@ 1.3-oe2403lts: path: 1.3/24.03-lts/Dockerfile arch: x86_64 + +1.4-oe2403lts: + path: 1.4/24.03-lts/Dockerfile + arch: x86_64 \ No newline at end of file -- Gitee