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-ubuntu12arm.yml

23 lines
830 B

version: "3.8"
services:
ubuntu:
image: chrismeyers/ubuntu12.04
working_dir: /root
command: bash -c "
apt-get update
&&apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf
&&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 -b 3.0release https://gitee.com/winlinvip/srs.oschina.git srs
&&cd srs/trunk
&& git remote set-url origin https://github.com/ossrs/srs.git
&& git pull
&&./configure --arm --cc=arm-linux-gnueabihf-gcc --cxx=arm-linux-gnueabihf-g++ --ar=arm-linux-gnueabihf-ar --ld=arm-linux-gnueabihf-ld --randlib=arm-linux-gnueabihf-randlib
&& make"
volumes:
- ./sources.ubuntu12.list:/etc/apt/sources.list
- ./srs:/root