upgrade setuptools version to fix CVE-2024-6345 (#999)
Signed-off-by: chensuyue <suyue.chen@intel.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user