mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Docker: Refine the main dockerfile. v6.0.54 (#3594)
------ Co-authored-by: Haibo Chen <495810242@qq.com>
This commit is contained in:
parent
be7faf6aa3
commit
8c061fcf5d
6 changed files with 18 additions and 13 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -267,7 +267,7 @@ jobs:
|
|||
echo "Release ossrs/srs:$SRS_TAG"
|
||||
docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
|
||||
--output "type=image,push=true" \
|
||||
-t ossrs/srs:$SRS_TAG --build-arg SRS_AUTO_PACKAGER=$PACKAGER -f trunk/Dockerfile .
|
||||
-t ossrs/srs:$SRS_TAG --build-arg SRS_AUTO_PACKAGER=$PACKAGER -f Dockerfile .
|
||||
# Docker alias images
|
||||
# TODO: FIXME: If stable, please set the latest from 5.0 to 6.0
|
||||
- name: Docker alias images for ossrs/srs
|
||||
|
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
@ -252,7 +252,7 @@ jobs:
|
|||
--output "type=image,push=false" \
|
||||
--build-arg IMAGE=ossrs/srs:ubuntu20-cache \
|
||||
--build-arg INSTALLDEPENDS="NO" \
|
||||
-f trunk/Dockerfile .
|
||||
-f Dockerfile .
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
multiple-arch-aarch64:
|
||||
|
@ -273,7 +273,7 @@ jobs:
|
|||
--output "type=image,push=false" \
|
||||
--build-arg IMAGE=ossrs/srs:ubuntu20-cache \
|
||||
--build-arg INSTALLDEPENDS="NO" \
|
||||
-f trunk/Dockerfile .
|
||||
-f Dockerfile .
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
multiple-arch-amd64:
|
||||
|
@ -295,7 +295,7 @@ jobs:
|
|||
docker buildx build --platform linux/amd64 \
|
||||
--output "type=image,push=false" \
|
||||
--build-arg IMAGE=ossrs/srs:ubuntu20-cache \
|
||||
-f trunk/Dockerfile .
|
||||
-f Dockerfile .
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
fast:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue