Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-epsilla authored Oct 18, 2023
1 parent 58fc629 commit 96d9691
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion engine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN mkdir -p /vectordb/build && cd /vectordb/build && cmake .. && make -j $(npro

FROM ubuntu:22.04
ARG TARGETARCH

RUN apt-get update && \
apt-get install -y --no-install-recommends curl wget net-tools iproute2 supervisor libgomp1 libboost-all-dev s3fs fuse ca-certificates gcc flex && \
echo "====== Fix CVE-2023-41915 with PMIx v4.1.3 ======" && \
Expand All @@ -21,7 +22,9 @@ RUN apt-get update && \
wget --no-check-certificate https://github.com/yandex-cloud/geesefs/releases/latest/download/geesefs-linux-${TARGETARCH} && \
chmod +x geesefs-linux-${TARGETARCH} && \
mv geesefs-linux-${TARGETARCH} /usr/local/bin/geesefs && \
geesefs --version
geesefs --version && \
apt-get clean all && rm -rf /var/apt/lists/* /var/cache/apt/*

COPY --from=builder /vectordb/build/vectordb /vectordb
COPY ./scripts/heartbeat.sh /heartbeat.sh
HEALTHCHECK --interval=600s --timeout=30s --retries=1000 CMD bash /heartbeat.sh || exit 0
Expand Down

0 comments on commit 96d9691

Please sign in to comment.