summaryrefslogtreecommitdiff
path: root/asterisk
diff options
context:
space:
mode:
Diffstat (limited to 'asterisk')
-rw-r--r--asterisk/Dockerfile13
-rw-r--r--asterisk/README.md7
2 files changed, 20 insertions, 0 deletions
diff --git a/asterisk/Dockerfile b/asterisk/Dockerfile
new file mode 100644
index 0000000..8486a55
--- /dev/null
+++ b/asterisk/Dockerfile
@@ -0,0 +1,13 @@
+FROM alpine
+
+# install packages
+RUN apk add --no-cache tini asterisk
+
+# volume
+RUN mkdir -p /etc/asterisk
+VOLUME /etc/asterisk
+
+# execute
+USER asterisk
+ENTRYPOINT ["/sbin/tini", "--"]
+CMD ["/usr/sbin/asterisk", "-fi"]
diff --git a/asterisk/README.md b/asterisk/README.md
new file mode 100644
index 0000000..5e91592
--- /dev/null
+++ b/asterisk/README.md
@@ -0,0 +1,7 @@
+### images/asterisk
+
+runs the asterisk pbx server
+
+#### config
+
+the config is loaded from /etc/asterisk, put a volume there if you want to do things