From ac94e6de7b668d80c3468512522f98b81fdfecff Mon Sep 17 00:00:00 2001 From: Josh XT Date: Tue, 14 Jan 2025 14:07:17 -0500 Subject: [PATCH] fix err --- .github/workflows/tests.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 196671d66131..80e3380cb2c8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,7 +38,7 @@ jobs: digest: ${{ steps.dockerBuild.outputs.digest }} services: dbservice: - image: postgres:latest + image: pgvector/pgvector:pg17 ports: - 5432 env: diff --git a/Dockerfile b/Dockerfile index ba30047af9c7..a6e58f61de78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV PYTHONUNBUFFERED=1 \ HNSWLIB_NO_NATIVE=1 \ PATH="/usr/local/bin:$PATH" \ LD_PRELOAD=libgomp.so.1 \ - LD_LIBRARY_PATH="/usr/local/lib64/:$LD_LIBRARY_PATH" \ + LD_LIBRARY_PATH="/usr/local/lib64/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" \ DEBIAN_FRONTEND=noninteractive \ CHROME_BIN=/usr/bin/chromium \ CHROMIUM_PATH=/usr/bin/chromium \ @@ -24,7 +24,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ python3 python3-pip python3-dev curl postgresql-client libnss3 libnspr4 \ libatk1.0-0 libatk-bridge2.0-0 libcups2 libatspi2.0-0 libxcomposite1 nodejs \ libportaudio2 libasound-dev libreoffice unoconv poppler-utils chromium chromium-sandbox \ - unixodbc unixodbc-dev && \ + unixodbc unixodbc-dev cmake && \ apt-get install -y gcc-10 g++-10 && \ update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10 && \ update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10 && \