About SRS Dockerfile:
- Dockerfile: For release and test.
- trunk/Dockerfile.pkg: For package binary.
- trunk/Dockerfile.builds: For test.
- trunk/Dockerfile.test: For test.
- trunk/Dockerfile.cov: For test and coverage.
docker build -t srs -f Dockerfile .
The dependency tree about Dockerfile:
- Dockerfile
- ossrs/srs:ubuntu20
- ossrs/srs:ubuntu20-base2
- ossrs/srs:ubuntu20-base
- ubuntu:focal
- ossrs/srs:ubuntu20-base
- ubuntu:focal
- ossrs/srs:ubuntu20-base2
- ossrs/srs:ubuntu20-cache
- ossrs/srs:ubuntu20
- ubuntu:focal
- ossrs/srs:ubuntu20
- ubuntu:focal
- ossrs/srs:ubuntu20
- trunk/Dockerfile.test
- trunk/Dockerfile.cov
- trunk/Dockerfile.pkg
- ossrs/srs:dev
- centos:7
- ossrs/srs:dev
- trunk/Dockerfile.builds
- ossrs/srs:dev-cache
- ossrs/srs:dev
- centos:7
- ossrs/srs:dev
- ossrs/srs:dev6-cache
- ossrs/srs:dev6
- centos:6
- ossrs/srs:dev6
- ossrs/srs:ubuntu16-cache
- ossrs/srs:ubuntu16
- ubuntu:xenial
- ossrs/srs:ubuntu16
- ossrs/srs:ubuntu18-cache
- ossrs/srs:ubuntu18
- ubuntu:bionic
- ossrs/srs:ubuntu18
- ossrs/srs:ubuntu20-cache
- ossrs/srs:ubuntu20
- ubuntu:focal
- ossrs/srs:ubuntu20
- ossrs/srs:ubuntu16-cache-cross-arm
- ossrs/srs:ubuntu16
- ubuntu:xenial
- ossrs/srs:ubuntu16
- ossrs/srs:ubuntu16-cache-cross-aarch64
- ossrs/srs:ubuntu16
- ubuntu:xenial
- ossrs/srs:ubuntu16
- ossrs/srs:ubuntu20-cache-cross-arm
- ossrs/srs:ubuntu20
- ubuntu:focal
- ossrs/srs:ubuntu20
- ossrs/srs:ubuntu20-cache-cross-aarch64
- ossrs/srs:ubuntu20
- ubuntu:focal
- ossrs/srs:ubuntu20
- ossrs/srs:dev-cache
To speedup the test, we use a set of cache images.
If need to reconfigure SRS, please update SRS, then update the images:
- ossrs/srs:dev-cache
- ossrs/srs:dev6-cache
- ossrs/srs:ubuntu16-cache
- ossrs/srs:ubuntu18-cache
- ossrs/srs:ubuntu20-cache
- ossrs/srs:ubuntu16-cache-cross-arm
- ossrs/srs:ubuntu16-cache-cross-aarch64
- ossrs/srs:ubuntu20-cache-cross-arm
- ossrs/srs:ubuntu20-cache-cross-aarch64
For example, update the release.yml for ubuntu20-cache:
# Build SRS for cache, never install it.
# SRS is 2d036c3fd Fix #2747: Support Apple Silicon M1(aarch64). v5.0.41
# Please update this comment, if need to refresh the cached dependencies, like st/openssl/ffmpeg/libsrtp/libsrt etc.
Then push to github and the image will be updated automatically.