ossobv / asterisklint

Asterisk PBX configuration syntax checker
GNU General Public License v3.0
61 stars 12 forks source link

Add docker support #51

Closed jjsearle closed 3 years ago

jjsearle commented 3 years ago

Add a Dockerfile for the project. Useful when using asterisklint in CI pipelines.

Build image

sudo docker build . -t asterisklint:latest

Run container

sudo docker run \
--rm \
-v /path/to/asterisk/config:/etc/asterisk \
-e ALINT_IGNORE="I_NOTIMPL_HINT" \
-it asterisklint:latest \
asterisklint dialplan-check