juancopi81 commited on
Commit
743714f
1 Parent(s): f3fc5f2

Add libfluidsynth from source

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -1
Dockerfile CHANGED
@@ -5,7 +5,19 @@ WORKDIR /code
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN apt-get update -qq && \
8
- apt-get install -qq python3-pip libfluidsynth build-essential libasound2-dev libjack-dev
 
 
 
 
 
 
 
 
 
 
 
 
9
 
10
  RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN apt-get update -qq && \
8
+ apt-get install -qq python3-pip build-essential libasound2-dev libjack-dev wget cmake
9
+
10
+ # Download libfluidsynth source
11
+ RUN wget https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.3.3.tar.gz && \
12
+ tar xzf v2.3.3.tar.gz && \
13
+ cd fluidsynth-2.3.3 && \
14
+ mkdir build && \
15
+ cd build && \
16
+ cmake .. && \
17
+ make && \
18
+ make install && \
19
+ cd ../../ && \
20
+ rm -rf fluidsynth-2.3.3 v2.3.3.tar.gz
21
 
22
  RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
23