Skip to content

Commit

Permalink
Remove 'vim' from Dockerfiles (opea-project#924)
Browse files Browse the repository at this point in the history
Signed-off-by: Abolfazl Shahbazi <[email protected]>
  • Loading branch information
ashahba authored Oct 11, 2024
1 parent 12469c9 commit b71a12d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
7 changes: 2 additions & 5 deletions ChatQnA/Dockerfile.no_wrapper
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@


# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

FROM python:3.11-slim

RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
git \
libgl1-mesa-glx \
libjemalloc-dev \
vim \
git
libjemalloc-dev

RUN useradd -m -s /bin/bash user && \
mkdir -p /home/user && \
Expand Down
7 changes: 2 additions & 5 deletions ChatQnA/Dockerfile.no_wrapper_without_rerank
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@


# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

FROM python:3.11-slim

RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
git \
libgl1-mesa-glx \
libjemalloc-dev \
vim \
git
libjemalloc-dev

RUN useradd -m -s /bin/bash user && \
mkdir -p /home/user && \
Expand Down
6 changes: 2 additions & 4 deletions MultimodalQnA/ui/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ ARG ARCH="cpu"

RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
build-essential \
default-jre \
libgl1-mesa-glx \
libjemalloc-dev \
default-jre \
wget \
vim
wget

# Install ffmpeg static build
WORKDIR /root
Expand All @@ -32,4 +31,3 @@ pip install --no-cache-dir -r /home/user/gradio/requirements.txt

WORKDIR /home/user/gradio
ENTRYPOINT ["python", "multimodalqna_ui_gradio.py"]
# ENTRYPOINT ["/usr/bin/sleep", "infinity"]

0 comments on commit b71a12d

Please sign in to comment.