Skip to content

Commit 25174c0

Browse files
authored
Remove 'vim' from all Dockerfiles (#557)
* Remove 'vim' from all Dockerfiles Signed-off-by: Abolfazl Shahbazi <[email protected]>
1 parent 6c24078 commit 25174c0

File tree

35 files changed

+69
-143
lines changed

35 files changed

+69
-143
lines changed

comps/chathistory/mongo/docker/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ ENV LANG=C.UTF-8
77

88
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
99
build-essential \
10-
libgl1-mesa-glx \
1110
libjemalloc-dev \
12-
vim
11+
libgl1-mesa-glx
1312

1413
RUN useradd -m -s /bin/bash user && \
1514
mkdir -p /home/user && \

comps/dataprep/milvus/docker/Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Copyright (C) 2024 Intel Corporation
32
# SPDX-License-Identifier: Apache-2.0
43

@@ -10,10 +9,9 @@ ARG ARCH="cpu"
109

1110
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
1211
build-essential \
13-
libgl1-mesa-glx \
14-
libjemalloc-dev \
1512
default-jre \
16-
vim
13+
libgl1-mesa-glx \
14+
libjemalloc-dev
1715

1816
RUN useradd -m -s /bin/bash user && \
1917
mkdir -p /home/user && \
@@ -37,4 +35,3 @@ USER user
3735
WORKDIR /home/user/comps/dataprep/milvus
3836

3937
ENTRYPOINT ["python", "prepare_doc_milvus.py"]
40-

comps/dataprep/pgvector/langchain/docker/Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Copyright (C) 2024 Intel Corporation
32
# SPDX-License-Identifier: Apache-2.0
43

@@ -10,10 +9,9 @@ ARG ARCH="cpu"
109

1110
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
1211
build-essential \
13-
libgl1-mesa-glx \
14-
libjemalloc-dev \
1512
default-jre \
16-
vim
13+
libgl1-mesa-glx \
14+
libjemalloc-dev
1715

1816
RUN useradd -m -s /bin/bash user && \
1917
mkdir -p /home/user && \
@@ -38,4 +36,3 @@ USER user
3836
WORKDIR /home/user/comps/dataprep/pgvector/langchain
3937

4038
ENTRYPOINT ["python", "prepare_doc_pgvector.py"]
41-

comps/dataprep/pinecone/docker/Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Copyright (C) 2024 Intel Corporation
32
# SPDX-License-Identifier: Apache-2.0
43

@@ -10,12 +9,10 @@ ARG ARCH="cpu"
109

1110
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
1211
build-essential \
13-
libgl1-mesa-glx \
14-
libjemalloc-dev \
1512
default-jre \
16-
vim \
17-
libcairo2
18-
13+
libcairo2 \
14+
libgl1-mesa-glx \
15+
libjemalloc-dev
1916

2017
RUN useradd -m -s /bin/bash user && \
2118
mkdir -p /home/user && \
@@ -43,4 +40,3 @@ USER user
4340
WORKDIR /home/user/comps/dataprep/pinecone
4441

4542
ENTRYPOINT ["python", "prepare_doc_pinecone.py"]
46-

comps/dataprep/qdrant/docker/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Copyright (C) 2024 Intel Corporation
32
# SPDX-License-Identifier: Apache-2.0
43

@@ -10,10 +9,9 @@ ARG ARCH="cpu"
109

1110
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
1211
build-essential \
13-
libgl1-mesa-glx \
14-
libjemalloc-dev \
1512
default-jre \
16-
vim
13+
libgl1-mesa-glx \
14+
libjemalloc-dev
1715

1816
RUN useradd -m -s /bin/bash user && \
1917
mkdir -p /home/user && \

comps/dataprep/redis/langchain/docker/Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Copyright (C) 2024 Intel Corporation
32
# SPDX-License-Identifier: Apache-2.0
43

@@ -10,13 +9,12 @@ ARG ARCH="cpu"
109

1110
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
1211
build-essential \
12+
default-jre \
1313
libgl1-mesa-glx \
1414
libjemalloc-dev \
15-
default-jre \
16-
vim \
15+
libreoffice \
1716
poppler-utils \
18-
tesseract-ocr \
19-
libreoffice
17+
tesseract-ocr
2018

2119
RUN useradd -m -s /bin/bash user && \
2220
mkdir -p /home/user && \
@@ -41,4 +39,3 @@ USER user
4139
WORKDIR /home/user/comps/dataprep/redis/langchain
4240

4341
ENTRYPOINT ["python", "prepare_doc_redis.py"]
44-

comps/dataprep/redis/langchain_ray/docker/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Copyright (C) 2024 Intel Corporation
32
# SPDX-License-Identifier: Apache-2.0
43

@@ -10,10 +9,9 @@ ARG ARCH="cpu"
109

1110
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
1211
build-essential \
12+
libcairo2 \
1313
libgl1-mesa-glx \
1414
libjemalloc-dev \
15-
vim \
16-
libcairo2 \
1715
poppler-utils \
1816
tesseract-ocr
1917

@@ -41,4 +39,3 @@ USER user
4139
WORKDIR /home/user/comps/dataprep/redis/langchain_ray
4240

4341
ENTRYPOINT ["python", "prepare_doc_redis_on_ray.py"]
44-

comps/dataprep/redis/llama_index/docker/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Copyright (C) 2024 Intel Corporation
32
# SPDX-License-Identifier: Apache-2.0
43

@@ -10,10 +9,9 @@ ARG ARCH="cpu"
109

1110
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
1211
build-essential \
12+
libcairo2 \
1313
libgl1-mesa-glx \
1414
libjemalloc-dev \
15-
vim \
16-
libcairo2 \
1715
poppler-utils \
1816
tesseract-ocr
1917

@@ -40,4 +38,3 @@ USER user
4038
WORKDIR /home/user/comps/dataprep/redis/llama_index
4139

4240
ENTRYPOINT ["python", "prepare_doc_redis.py"]
43-

comps/embeddings/langchain-mosec/docker/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
21
# Copyright (C) 2024 Intel Corporation
32
# SPDX-License-Identifier: Apache-2.0
43

54
FROM langchain/langchain:latest
65

76
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
87
libgl1-mesa-glx \
9-
libjemalloc-dev \
10-
vim
8+
libjemalloc-dev
119

1210
RUN useradd -m -s /bin/bash user && \
1311
mkdir -p /home/user && \
@@ -25,4 +23,3 @@ ENV PYTHONPATH=$PYTHONPATH:/home/user
2523
WORKDIR /home/user/comps/embeddings/langchain-mosec
2624

2725
ENTRYPOINT ["python", "embedding_mosec.py"]
28-

comps/embeddings/langchain/docker/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Copyright (C) 2024 Intel Corporation
32
# SPDX-License-Identifier: Apache-2.0
43

@@ -8,8 +7,7 @@ ARG ARCH="cpu"
87

98
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
109
libgl1-mesa-glx \
11-
libjemalloc-dev \
12-
vim
10+
libjemalloc-dev
1311

1412
RUN useradd -m -s /bin/bash user && \
1513
mkdir -p /home/user && \
@@ -28,4 +26,3 @@ ENV PYTHONPATH=$PYTHONPATH:/home/user
2826
WORKDIR /home/user/comps/embeddings/langchain
2927

3028
ENTRYPOINT ["python", "embedding_tei.py"]
31-

0 commit comments

Comments
 (0)