Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update build scripts

davidmezzetticf102730f91e
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8daf0eef..53bf5c8f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -34,7 +34,7 @@ jobs:
java-version: "8"
- name: Install dependencies - Linux
- run: sudo apt-get update && sudo apt-get install libsndfile1 portaudio19
+ run: sudo apt-get update && sudo apt-get install libportaudio2 libsndfile1
if: matrix.os == 'ubuntu-latest'
- name: Install dependencies - macOS
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index f2285a1c..d38ad2cc 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -12,7 +12,6 @@ jobs:
with:
python-version: 3.8
- run: |
- sudo apt-get update && sudo apt-get install libsndfile1 portaudio19-dev
pip install -U pip wheel
pip install .[all,dev]
- run: mkdocs gh-deploy --force
diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile
index f898deb4..73a934a4 100644
--- a/docker/base/Dockerfile
+++ b/docker/base/Dockerfile
@@ -21,7 +21,7 @@ ENV LANG=C.UTF-8
RUN \
# Install required packages
apt-get update && \
- apt-get -y --no-install-recommends install libgomp1 libsndfile1 portaudio19 gcc g++ python${PYTHON_VERSION} python${PYTHON_VERSION}-dev python3-pip && \
+ apt-get -y --no-install-recommends install libgomp1 libportaudio2 libsndfile1 gcc g++ python${PYTHON_VERSION} python${PYTHON_VERSION}-dev python3-pip && \
rm -rf /var/lib/apt/lists && \
\
# Install txtai project and dependencies