Skip to content

Commit

Permalink
fix(docker): add llvm14-dev to image for librosa build
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed Oct 16, 2023
1 parent e74bc2f commit 22be0ea
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ COPY --from=builder-mp3val /tmp/out/*/*.apk /pkgs/
ENV UID=1000
ENV GID=1000

RUN apk add --no-cache --upgrade --virtual=build-dependencies build-base libffi-dev openssl-dev python3-dev jpeg-dev libpng-dev zlib-dev jpeg-dev cargo && \
apk add --no-cache --upgrade sudo python3 libev chromaprint ffmpeg gstreamer flac keyfinder-cli libsndfile && \
RUN apk add --no-cache --upgrade --virtual=build-dependencies build-base libffi-dev openssl-dev python3-dev jpeg-dev libpng-dev zlib-dev jpeg-dev cargo llvm14-dev && \
apk add --no-cache --upgrade sudo python3 py-pip libev chromaprint ffmpeg gstreamer flac keyfinder-cli libsndfile && \
apk add --no-cache --allow-untrusted /pkgs/* && \
python3 -m ensurepip && \
pip3 install --no-cache-dir . .[docker] && \
env LLVM_CONFIG="$(which llvm14-config)" pip install --no-cache-dir . .[docker] && \
apk del --purge build-dependencies && \
rm -r /pkgs ~/.cache

Expand Down

0 comments on commit 22be0ea

Please sign in to comment.