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

Non interactive

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -4
Dockerfile CHANGED
@@ -4,20 +4,24 @@ WORKDIR /code
4
 
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
 
 
4
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
+ # Preconfigure tzdata
8
+ RUN DEBIAN_FRONTEND="noninteractive" apt-get -qq update && \
9
+ DEBIAN_FRONTEND="noninteractive" apt-get install -y tzdata
10
+
11
  RUN apt-get update -qq && \
12
  apt-get install -qq python3-pip build-essential libasound2-dev libjack-dev wget cmake
13
 
14
  # Download libfluidsynth source
15
+ RUN wget https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.2.3.tar.gz && \
16
+ tar xzf v2.2.3.tar.gz && \
17
+ cd fluidsynth-2.2.3 && \
18
  mkdir build && \
19
  cd build && \
20
  cmake .. && \
21
  make && \
22
  make install && \
23
  cd ../../ && \
24
+ rm -rf fluidsynth-2.2.3 v2.2.3.tar.gz
25
 
26
  RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
27