upgrade setuptools version to fix CVE-2024-6345 (#999)

Signed-off-by: chensuyue <suyue.chen@intel.com>
This commit is contained in:
chen, suyue
2024-11-14 14:57:16 +08:00
committed by GitHub
parent 6b9a27dd83
commit 2b2c7ee2f5
15 changed files with 15 additions and 15 deletions

View File

@@ -18,7 +18,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./audioqna.py /home/user/audioqna.py COPY ./audioqna.py /home/user/audioqna.py

View File

@@ -18,7 +18,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./audioqna_multilang.py /home/user/audioqna_multilang.py COPY ./audioqna_multilang.py /home/user/audioqna_multilang.py

View File

@@ -18,7 +18,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \
pip install --no-cache-dir langchain_core pip install --no-cache-dir langchain_core

View File

@@ -18,7 +18,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \
pip install --no-cache-dir langchain_core pip install --no-cache-dir langchain_core

View File

@@ -18,7 +18,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \ pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \
pip install --no-cache-dir langchain_core pip install --no-cache-dir langchain_core

View File

@@ -20,7 +20,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./codegen.py /home/user/codegen.py COPY ./codegen.py /home/user/codegen.py

View File

@@ -18,7 +18,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./code_translation.py /home/user/code_translation.py COPY ./code_translation.py /home/user/code_translation.py

View File

@@ -16,7 +16,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./retrieval_tool.py /home/user/retrieval_tool.py COPY ./retrieval_tool.py /home/user/retrieval_tool.py

View File

@@ -18,7 +18,7 @@ WORKDIR /home/user
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./docsum.py /home/user/docsum.py COPY ./docsum.py /home/user/docsum.py

View File

@@ -19,7 +19,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./faqgen.py /home/user/faqgen.py COPY ./faqgen.py /home/user/faqgen.py

View File

@@ -16,7 +16,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./multimodalqna.py /home/user/multimodalqna.py COPY ./multimodalqna.py /home/user/multimodalqna.py

View File

@@ -18,7 +18,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./searchqna.py /home/user/searchqna.py COPY ./searchqna.py /home/user/searchqna.py

View File

@@ -28,7 +28,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./translation.py /home/user/translation.py COPY ./translation.py /home/user/translation.py

View File

@@ -19,7 +19,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./videoqna.py /home/user/videoqna.py COPY ./videoqna.py /home/user/videoqna.py

View File

@@ -18,7 +18,7 @@ WORKDIR /home/user/
RUN git clone https://github.com/opea-project/GenAIComps.git RUN git clone https://github.com/opea-project/GenAIComps.git
WORKDIR /home/user/GenAIComps WORKDIR /home/user/GenAIComps
RUN pip install --no-cache-dir --upgrade pip && \ RUN pip install --no-cache-dir --upgrade pip setuptools && \
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
COPY ./visualqna.py /home/user/visualqna.py COPY ./visualqna.py /home/user/visualqna.py