2
0

Dockers.md 4.9 KB

Dockers

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 .
    

Dependency Tree

The dependency tree about Dockerfile:

Image for Cache

To speedup the test, we use a set of cache images.

If need to reconfigure SRS, please update SRS, then update the images:

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.