File tree 3 files changed +17
-6
lines changed
3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 5
5
6
6
FROM debian:9
7
7
8
-
8
+ # https://signalwire.com/docs/signalwire-cli/installation/
9
+ ARG SIGNALWIRE_TOKEN=GenerateYourOwnToken
9
10
10
11
# Install git, process tools
11
- RUN apt-get update && apt-get -y install git procps wget tree
12
+ RUN apt-get update && apt-get -y install git procps wget tree gnupg2 wget lsb-release apt-transport-https
12
13
13
14
# Install C++ tools
14
- RUN apt-get -y install build-essential cmake cppcheck valgrind pkg-config lsb-release
15
+ RUN apt-get -y install build-essential cmake cppcheck valgrind pkg-config
15
16
16
17
# Install Freeswitch dev
17
- RUN echo "deb [trusted=yes] http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > /etc/apt/sources.list.d/freeswitch.list
18
- RUN wget -O - https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | apt-key add -
18
+ RUN wget --http-user=signalwire --http-password=$SIGNALWIRE_TOKEN -O - https://freeswitch.signalwire.com/repo/deb/debian-release/signalwire-freeswitch-repo.gpg | apt-key add -
19
+
20
+ RUN echo "machine freeswitch.signalwire.com login signalwire password $SIGNALWIRE_TOKEN" > /etc/apt/auth.conf
21
+
22
+ RUN echo "deb https://freeswitch.signalwire.com/repo/deb/freeswitch-1.8/ `lsb_release -sc` main" > /etc/apt/sources.list.d/freeswitch.list
23
+ RUN echo "deb-src https://freeswitch.signalwire.com/repo/deb/freeswitch-1.8/ `lsb_release -sc` main" >> /etc/apt/sources.list.d/freeswitch.list
19
24
20
25
RUN apt-get update && apt-get -y install libfreeswitch-dev librdkafka-dev libz-dev libssl-dev
21
26
Original file line number Diff line number Diff line change 52
52
file : .devcontainer/Dockerfile
53
53
cache-from : type=local,src=/tmp/.buildx-cache
54
54
cache-to : type=local,dest=/tmp/.buildx-cache-new,mode=max
55
+ build-args : |
56
+ SIGNALWIRE_TOKEN=${{ secrets.SIGNALWIRE_TOKEN }}
57
+
55
58
- name : Compile
56
59
run : |
57
60
docker run -i localhost:5000/${{ github.repository }}_build:latest bash -c "cd /mod_event_kafka && make && ls"
Original file line number Diff line number Diff line change @@ -64,4 +64,7 @@ cmake-build-debug/
64
64
65
65
66
66
# dist
67
- * .deb
67
+ * .deb
68
+
69
+ # vagrant
70
+ .vagrant
You can’t perform that action at this time.
0 commit comments