Skip to content

Commit 2b2c7ee

Browse files
authored
upgrade setuptools version to fix CVE-2024-6345 (#999)
Signed-off-by: chensuyue <suyue.chen@intel.com>
1 parent 6b9a27d commit 2b2c7ee

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed

AudioQnA/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WORKDIR /home/user/
1818
RUN git clone https://github.com/opea-project/GenAIComps.git
1919

2020
WORKDIR /home/user/GenAIComps
21-
RUN pip install --no-cache-dir --upgrade pip && \
21+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2222
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2323

2424
COPY ./audioqna.py /home/user/audioqna.py

AudioQnA/Dockerfile.multilang

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WORKDIR /home/user/
1818
RUN git clone https://github.com/opea-project/GenAIComps.git
1919

2020
WORKDIR /home/user/GenAIComps
21-
RUN pip install --no-cache-dir --upgrade pip && \
21+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2222
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2323

2424
COPY ./audioqna_multilang.py /home/user/audioqna_multilang.py

ChatQnA/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WORKDIR /home/user/
1818
RUN git clone https://github.com/opea-project/GenAIComps.git
1919

2020
WORKDIR /home/user/GenAIComps
21-
RUN pip install --no-cache-dir --upgrade pip && \
21+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2222
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \
2323
pip install --no-cache-dir langchain_core
2424

ChatQnA/Dockerfile.guardrails

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WORKDIR /home/user/
1818
RUN git clone https://github.com/opea-project/GenAIComps.git
1919

2020
WORKDIR /home/user/GenAIComps
21-
RUN pip install --no-cache-dir --upgrade pip && \
21+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2222
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \
2323
pip install --no-cache-dir langchain_core
2424

ChatQnA/Dockerfile.without_rerank

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WORKDIR /home/user/
1818
RUN git clone https://github.com/opea-project/GenAIComps.git
1919

2020
WORKDIR /home/user/GenAIComps
21-
RUN pip install --no-cache-dir --upgrade pip && \
21+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2222
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \
2323
pip install --no-cache-dir langchain_core
2424

CodeGen/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ WORKDIR /home/user/
2020
RUN git clone https://github.com/opea-project/GenAIComps.git
2121

2222
WORKDIR /home/user/GenAIComps
23-
RUN pip install --no-cache-dir --upgrade pip && \
23+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2424
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2525

2626
COPY ./codegen.py /home/user/codegen.py

CodeTrans/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WORKDIR /home/user/
1818
RUN git clone https://github.com/opea-project/GenAIComps.git
1919

2020
WORKDIR /home/user/GenAIComps
21-
RUN pip install --no-cache-dir --upgrade pip && \
21+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2222
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2323

2424
COPY ./code_translation.py /home/user/code_translation.py

DocIndexRetriever/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WORKDIR /home/user/
1616
RUN git clone https://github.com/opea-project/GenAIComps.git
1717

1818
WORKDIR /home/user/GenAIComps
19-
RUN pip install --no-cache-dir --upgrade pip && \
19+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2020
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2121

2222
COPY ./retrieval_tool.py /home/user/retrieval_tool.py

DocSum/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WORKDIR /home/user
1818
RUN git clone https://github.com/opea-project/GenAIComps.git
1919

2020
WORKDIR /home/user/GenAIComps
21-
RUN pip install --no-cache-dir --upgrade pip && \
21+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2222
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2323

2424
COPY ./docsum.py /home/user/docsum.py

FaqGen/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ WORKDIR /home/user/
1919
RUN git clone https://github.com/opea-project/GenAIComps.git
2020

2121
WORKDIR /home/user/GenAIComps
22-
RUN pip install --no-cache-dir --upgrade pip && \
22+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2323
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2424

2525
COPY ./faqgen.py /home/user/faqgen.py

MultimodalQnA/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ WORKDIR /home/user/
1616
RUN git clone https://github.com/opea-project/GenAIComps.git
1717

1818
WORKDIR /home/user/GenAIComps
19-
RUN pip install --no-cache-dir --upgrade pip && \
19+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2020
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2121

2222
COPY ./multimodalqna.py /home/user/multimodalqna.py

SearchQnA/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WORKDIR /home/user/
1818
RUN git clone https://github.com/opea-project/GenAIComps.git
1919

2020
WORKDIR /home/user/GenAIComps
21-
RUN pip install --no-cache-dir --upgrade pip && \
21+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2222
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2323

2424
COPY ./searchqna.py /home/user/searchqna.py

Translation/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ WORKDIR /home/user/
2828
RUN git clone https://github.com/opea-project/GenAIComps.git
2929

3030
WORKDIR /home/user/GenAIComps
31-
RUN pip install --no-cache-dir --upgrade pip && \
31+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
3232
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
3333

3434
COPY ./translation.py /home/user/translation.py

VideoQnA/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ WORKDIR /home/user/
1919
RUN git clone https://github.com/opea-project/GenAIComps.git
2020

2121
WORKDIR /home/user/GenAIComps
22-
RUN pip install --no-cache-dir --upgrade pip && \
22+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2323
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2424

2525
COPY ./videoqna.py /home/user/videoqna.py

VisualQnA/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ WORKDIR /home/user/
1818
RUN git clone https://github.com/opea-project/GenAIComps.git
1919

2020
WORKDIR /home/user/GenAIComps
21-
RUN pip install --no-cache-dir --upgrade pip && \
21+
RUN pip install --no-cache-dir --upgrade pip setuptools && \
2222
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
2323

2424
COPY ./visualqna.py /home/user/visualqna.py

0 commit comments

Comments
 (0)