Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Add sndfile dependency to tests and docker image

davidmezzetti74def2123403
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0b650a02..fad288c3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,6 +16,10 @@ jobs:
with:
python-version: 3.6
+ - name: Install dependencies - Linux
+ run: apt-get install libsndfile1
+ if: matrix.os == "ubuntu-latest"
+
- name: Install dependencies - MacOS
run: brew install libomp
if: matrix.os == 'macos-latest'
diff --git a/docker/api.Dockerfile b/docker/api.Dockerfile
index 6905f51b..185a78ec 100644
--- a/docker/api.Dockerfile
+++ b/docker/api.Dockerfile
@@ -11,7 +11,7 @@ EXPOSE 8000
# Install required packages
RUN apt-get update && \
- apt-get -y --no-install-recommends install libgomp1 gcc g++ python3.6 python3-dev python3-pip && \
+ apt-get -y --no-install-recommends install libgomp1 libsndfile1 gcc g++ python3.6 python3-dev python3-pip && \
rm -rf /var/lib/apt/lists
# Install paperetl project and dependencies