-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathDockerfile-debian12
More file actions
29 lines (23 loc) · 885 Bytes
/
Dockerfile-debian12
File metadata and controls
29 lines (23 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM debian:12
RUN apt update
RUN apt install -y \
git debhelper g++ make libspandsp-dev flite1-dev \
libspeex-dev libgsm1-dev libopus-dev libssl-dev python3-dev \
python3.11-dev libev-dev \
python3-sip-dev openssl libev-dev libmysqlcppconn-dev libevent-dev \
libxml2-dev libcurl4-openssl-dev libhiredis-dev \
libsamplerate-dev libmp3lame-dev libcodec2-dev \
cmake dh-cmake dh-cmake-compat dh-sequence-cmake \
cargo rustc
RUN apt install -y \
devscripts libbcg729-dev
COPY . /sems
WORKDIR /sems
RUN mkdir -p build && cd build && cmake .. && make sems_tests && ./core/sems_tests
RUN ln -s pkg/deb/bookworm ./debian
RUN dpkg-buildpackage -rfakeroot -us -uc
RUN ls -al ..
RUN dpkg -i ../sems_*.deb
RUN /usr/sbin/sems -v
# Run SEMS with the specified configuration
CMD ["/usr/sbin/sems", "-E", "-f", "/etc/sems/sems.conf"]