feat(mediaserver): update MediaMTX image
This commit is contained in:
parent
5735b2d73a
commit
3523a1a34e
@ -1,11 +0,0 @@
|
||||
FROM bluenviron/mediamtx:latest AS mediamtx
|
||||
|
||||
FROM alpine:3.21
|
||||
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
curl
|
||||
|
||||
COPY --from=mediamtx /mediamtx /usr/bin/mediamtx
|
||||
|
||||
CMD ["/usr/bin/mediamtx"]
|
@ -39,7 +39,7 @@ func TestIntegrationClientStartStop(t *testing.T) {
|
||||
Name: containerName,
|
||||
ChanSize: 1,
|
||||
ContainerConfig: &typescontainer.Config{
|
||||
Image: "netfluxio/mediamtx-alpine:latest",
|
||||
Image: "ghcr.io/rfwatson/mediamtx-alpine:latest",
|
||||
Labels: map[string]string{container.LabelComponent: component},
|
||||
},
|
||||
HostConfig: &typescontainer.HostConfig{
|
||||
@ -84,7 +84,7 @@ func TestIntegrationClientRemoveContainers(t *testing.T) {
|
||||
stateC, err1C := client.RunContainer(ctx, container.RunContainerParams{
|
||||
ChanSize: 1,
|
||||
ContainerConfig: &typescontainer.Config{
|
||||
Image: "netfluxio/mediamtx-alpine:latest",
|
||||
Image: "ghcr.io/rfwatson/mediamtx-alpine:latest",
|
||||
Labels: map[string]string{container.LabelComponent: component, "group": "test1"},
|
||||
},
|
||||
HostConfig: &typescontainer.HostConfig{NetworkMode: "default"},
|
||||
@ -95,7 +95,7 @@ func TestIntegrationClientRemoveContainers(t *testing.T) {
|
||||
stateC, err2C := client.RunContainer(ctx, container.RunContainerParams{
|
||||
ChanSize: 1,
|
||||
ContainerConfig: &typescontainer.Config{
|
||||
Image: "netfluxio/mediamtx-alpine:latest",
|
||||
Image: "ghcr.io/rfwatson/mediamtx-alpine:latest",
|
||||
Labels: map[string]string{container.LabelComponent: component, "group": "test1"},
|
||||
},
|
||||
HostConfig: &typescontainer.HostConfig{NetworkMode: "default"},
|
||||
@ -106,7 +106,7 @@ func TestIntegrationClientRemoveContainers(t *testing.T) {
|
||||
stateC, err3C := client.RunContainer(ctx, container.RunContainerParams{
|
||||
ChanSize: 1,
|
||||
ContainerConfig: &typescontainer.Config{
|
||||
Image: "netfluxio/mediamtx-alpine:latest",
|
||||
Image: "ghcr.io/rfwatson/mediamtx-alpine:latest",
|
||||
Labels: map[string]string{container.LabelComponent: component, "group": "test2"},
|
||||
},
|
||||
HostConfig: &typescontainer.HostConfig{NetworkMode: "default"},
|
||||
|
@ -31,7 +31,7 @@ const (
|
||||
defaultAPIPort = 9997 // default API host port for the media server
|
||||
defaultRTMPPort = 1935 // default RTMP host port for the media server
|
||||
defaultChanSize = 64 // default channel size for asynchronous non-error channels
|
||||
imageNameMediaMTX = "netfluxio/mediamtx-alpine:latest" // image name for mediamtx
|
||||
imageNameMediaMTX = "ghcr.io/rfwatson/mediamtx-alpine:latest" // image name for mediamtx
|
||||
defaultStreamKey StreamKey = "live" // Default stream key. See [StreamKey].
|
||||
componentName = "mediaserver" // component name, mostly used for Docker labels
|
||||
httpClientTimeout = time.Second // timeout for outgoing HTTP client requests
|
||||
|
@ -1,7 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
#MISE description="Build and push mediamtx image"
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
docker build -f build/mediamtx.Dockerfile -t netfluxio/mediamtx-alpine:latest .
|
||||
docker push netfluxio/mediamtx-alpine:latest
|
Loading…
x
Reference in New Issue
Block a user