A batteries included docker image for Openresty lua module developers!
- 1.19.3.1 (latest)
- 1.15.8.3
- Install Docker Engine
- Install Docker Compose
- Write Your
docker-compose.yml
(See Sample)
- Save following content as
docker-compose.yml
openresty:
image: cdbattags/openresty-testsuite:latest
volumes:
- .:/tests
working_dir: /tests
command:
- '/bin/sh'
- '-c'
- 'luarocks make YOUR-ROCKSPEC && prove -r t'
- Open your favourite editor to change
YOUR-ROCKSPEC
to real path or replace command with what ever your test scripts is. - Run
docker-compose up