diff options
author | Freya Murphy <freya@freyacat.org> | 2024-06-06 21:30:12 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-06-06 21:30:12 -0400 |
commit | 04b1b8d4fcc189a7a6d617c224408cb56b14ac40 (patch) | |
tree | 9ab409dff6cabb9b894a938d785af826edf4946b /asterisk | |
parent | initial (diff) | |
download | images-04b1b8d4fcc189a7a6d617c224408cb56b14ac40.tar.gz images-04b1b8d4fcc189a7a6d617c224408cb56b14ac40.tar.bz2 images-04b1b8d4fcc189a7a6d617c224408cb56b14ac40.zip |
buildx, asterisk
Diffstat (limited to 'asterisk')
-rw-r--r-- | asterisk/Dockerfile | 13 | ||||
-rw-r--r-- | asterisk/README.md | 7 |
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 |