Skip to content

Commit 918cffb

Browse files
author
Your Name
committed
update dockerfiles
1 parent 8549fc4 commit 918cffb

File tree

2 files changed

+30
-14
lines changed

2 files changed

+30
-14
lines changed

Dockerfile-debian11

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,27 @@ RUN apt update
44
RUN apt install -y \
55
git debhelper g++ make libspandsp-dev flite1-dev \
66
libspeex-dev libgsm1-dev libopus-dev libssl-dev python3-dev \
7-
python3.9-dev \
8-
python3-sip-dev openssl libev-dev libmysqlcppconn-dev libevent-dev \
9-
libxml2-dev libcurl4-openssl-dev libhiredis-dev
7+
python3.9-dev libev-dev \
8+
python3-sip-dev openssl libev-dev libmysqlcppconn-dev libevent-dev \
9+
libxml2-dev libcurl4-openssl-dev libhiredis-dev
1010

11+
RUN apt install -y \
12+
devscripts libbcg729-dev
1113
WORKDIR /
1214

13-
RUN git clone --depth 1 --branch python3-rhel7 https://github.com/hecko/sems.git
15+
RUN git clone --depth 1 --branch fb https://github.com/hecko/sems.git
1416

1517
WORKDIR /sems
1618

17-
RUN USE_SPANDSP=1 make
18-
RUN USE_SPANDSP=1 make install
19+
RUN ls -al pkg/deb/bullseye/*
20+
RUN ln -s pkg/deb/bullseye ./debian
21+
RUN ls -al debian/*
22+
RUN dch -b -v 1.8.0 "sems"
23+
RUN dpkg-buildpackage -rfakeroot -us -uc
24+
RUN ls -al ..
25+
26+
RUN dpkg -i ../sems_*.deb
27+
RUN /usr/sbin/sems -v
1928

2029
# Run SEMS with the specified configuration
21-
CMD ["/usr/local/sbin/sems", "-E", "-f", "/usr/local/etc/sems/sems.conf"]
30+
CMD ["/usr/sbin/sems", "-E", "-f", "/etc/sems/sems.conf"]

Dockerfile-debian12

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,25 @@ RUN apt update
44
RUN apt install -y \
55
git debhelper g++ make libspandsp-dev flite1-dev \
66
libspeex-dev libgsm1-dev libopus-dev libssl-dev python3-dev \
7-
python3.11-dev \
8-
python3-sip-dev openssl libev-dev libmysqlcppconn-dev libevent-dev \
9-
libxml2-dev libcurl4-openssl-dev libhiredis-dev
7+
python3.11-dev libev-dev \
8+
python3-sip-dev openssl libev-dev libmysqlcppconn-dev libevent-dev \
9+
libxml2-dev libcurl4-openssl-dev libhiredis-dev
1010

11+
RUN apt install -y \
12+
devscripts libbcg729-dev
1113
WORKDIR /
1214

13-
RUN git clone --depth 1 --branch python3-rhel7 https://github.com/hecko/sems.git
15+
RUN git clone --depth 1 --branch fb https://github.com/hecko/sems.git
1416

1517
WORKDIR /sems
1618

17-
RUN USE_SPANDSP=1 make
18-
RUN USE_SPANDSP=1 make install
19+
RUN ln -s pkg/deb/bookworm ./debian
20+
RUN dch -b -v 1.8.0 "sems"
21+
RUN dpkg-buildpackage -rfakeroot -us -uc
22+
RUN ls -al ..
23+
24+
RUN dpkg -i ../sems_*.deb
25+
RUN /usr/sbin/sems -v
1926

2027
# Run SEMS with the specified configuration
21-
CMD ["/usr/local/sbin/sems", "-E", "-f", "/usr/local/etc/sems/sems.conf"]
28+
CMD ["/usr/sbin/sems", "-E", "-f", "/etc/sems/sems.conf"]

0 commit comments

Comments
 (0)