Skip to content

Commit 23beada

Browse files
Change to librosa
1 parent 2ad5acf commit 23beada

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Dockerfile.base

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ RUN set -x \
1919
openssl-dev \
2020
# install snapcast so the snapcast provider can run the builtin snapcast server
2121
snapcast \
22-
# build tools and llvm support needed for librosa/numba/llvmlite
22+
# build tools and llvm support needed for librosa/numba/llvmlite (smartfades)
2323
build-base \
24-
llvm-dev
24+
llvm15-dev \
25+
# libsndfile needed for librosa audio file support (smartfades)
26+
libsndfile-dev
2527

2628
# Get static ffmpeg builds from https://hub.docker.com/r/mwader/static-ffmpeg/
2729
COPY --from=mwader/static-ffmpeg:7.1.1 /ffmpeg /usr/local/bin/
@@ -34,6 +36,9 @@ COPY widevine_cdm/* /usr/local/bin/widevine_cdm/
3436
# JEMalloc for more efficient memory management
3537
ENV LD_PRELOAD="/usr/lib/libjemalloc.so.2"
3638

39+
# Set LLVM config for llvmlite/numba
40+
ENV LLVM_CONFIG="/usr/bin/llvm-config-15"
41+
3742
# we need to set (very permissive) permissions to the workdir
3843
# and /tmp to allow running the container as non-root
3944
RUN chmod -R 777 /tmp

0 commit comments

Comments
 (0)