Skip to content

Commit

Permalink
(feat) Moved to asterisk 13.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
yvnicolas committed Mar 25, 2015
1 parent 43af01b commit fffb8b8
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 5 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ My playground to dockerize asterisk configuration

Work in progress

## `asterisk` directory

The main directory, should be self sustainable now. Other directories are kept for reference.

to run the container :

```
docker run -d -p 5060:5060 yvnicolas/asterisk:13.2.0
```


## Old directories

directory `sshdocker` contains a stand alone debian based container accessible via SSH

To build an asterisk image that has just asterisk Compiled :
Expand Down
16 changes: 11 additions & 5 deletions asterisk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Enabling a ssh demon inside a docker container
# derived from dockerizing and SSH daemon on http://docs.docker.com/examples/running_ssh_service
# Asterisk image Docker file
# No configuration files are created, but the directories are exposed as Volumes


FROM yves_sshd:latest
FROM debian:jessie
MAINTAINER Yves Nicolas <[email protected]>


Expand Down Expand Up @@ -60,8 +59,15 @@ RUN chown -R $ASTERISKUSER:$ASTERISKUSER /var/lib/asterisk \
&& chown -R $ASTERISKUSER:$ASTERISKUSER /var/run/asterisk \
&& chown -R $ASTERISKUSER:$ASTERISKUSER /etc/asterisk

#Expose outside volumes
VOLUME /var/log/asterisk
VOLUME /etc/asterisk

#Copy minimum configuration files so that it can start
COPY initconfigfiles/etc/* /etc/asterisk/

#Make asterisk port open
EXPOSE 5060


#Start Asterisk in foreground
CMD ["/usr/sbin/asterisk","-cvvvvvv"]
File renamed without changes.
File renamed without changes.

0 comments on commit fffb8b8

Please sign in to comment.