2016-10-24 03:03:08 +00:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
language: bash
|
|
|
|
services: docker
|
|
|
|
|
|
|
|
env:
|
|
|
|
- DOCKER_IMAGE=nginx-rtmp
|
|
|
|
|
|
|
|
script:
|
2016-10-24 03:13:55 +00:00
|
|
|
- docker build -t ${DOCKER_IMAGE} .
|
2016-10-24 03:03:08 +00:00
|
|
|
|
|
|
|
after_script:
|
|
|
|
- docker images
|
|
|
|
- docker run -d -p 1935:1935 -p 8080:80 -t ${DOCKER_IMAGE}
|
|
|
|
- docker ps -a
|