You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/tools/srs/docker-compose.yml

23 lines
616 B

version: "3.8"
services:
ubuntu:
image: ubuntu:16.04
working_dir: /root
# command: bash -c "tail -f /dev/null"
command: bash -c "
apt-get update
&&apt-get install -y sudo
&&apt-get install -y python
&&apt-get upgrade -y
&&apt-get install -y git
&&rm -rf /root/srs/
&&git clone https://gitee.com/winlinvip/srs.oschina.git srs
&&cd srs/trunk
&& git remote set-url origin https://gitee.com/winlinvip/srs.oschina.git
&& git pull
&&./configure
&& make"
volumes:
- ./sources.list:/etc/apt/sources.list
- ./srs:/root