Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-epsilla committed Oct 25, 2023
1 parent b505060 commit 170bb21
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ADD ./ /vectordb
WORKDIR /vectordb
ENV OATPP_INSTALL_PATH=/vectordb/build/dependencies
RUN scripts/install_oatpp_modules.sh
RUN mkdir -p /vectordb/build && cd /vectordb/build && cmake .. && make -j $(nproc) && chmod +x vectordb
RUN mkdir -p /vectordb/build && cd /vectordb/build && cmake .. && make && chmod +x vectordb


FROM epsilla/base
Expand Down
11 changes: 10 additions & 1 deletion engine/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
FROM ubuntu:23.10

ENV OATPP_INSTALL_PATH=/vectordb/build/dependencies
WORKDIR /vectordb
ADD ./scripts/install_oatpp_modules.sh /vectordb/scripts/install_oatpp_modules.sh
RUN apt-get update && \
apt-get install -y --no-install-recommends python3 python3-pip libpython3-dev sudo curl wget net-tools iproute2 supervisor cmake build-essential libgomp1 libboost-all-dev s3fs fuse ca-certificates && \
apt-get install -y --no-install-recommends git sudo curl wget iproute2 supervisor cmake build-essential libgomp1 libboost-all-dev s3fs fuse ca-certificates && \
bash scripts/install_oatpp_modules.sh && \
apt-get remove --auto-remove git cmake build-essential && \
apt-get purge --auto-remove git cmake build-essential && \
apt-get clean all && \
rm -rf /var/apt/lists/* /var/cache/apt/*

# apt-get install python3 python3-pip libpython3-dev

0 comments on commit 170bb21

Please sign in to comment.