diff --git a/engine/Dockerfile b/engine/Dockerfile index e44705f8..4dcd8b3c 100644 --- a/engine/Dockerfile +++ b/engine/Dockerfile @@ -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 ======" && \ @@ -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