Skip to content

Commit

Permalink
more image rename
Browse files Browse the repository at this point in the history
  • Loading branch information
biglittlebigben committed Jan 12, 2024
1 parent e0a046e commit c3b05e4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/gstreamer/Dockerfile-dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GSTREAMER_VERSION

FROM livekit/gstreamer:${GSTREAMER_VERSION}-base
FROM livekit/gstreamer:${GSTREAMER_VERSION}-base-${TARGETARCH}

ENV DEBUG=true
ENV OPTIMIZATIONS=false
Expand Down
2 changes: 1 addition & 1 deletion build/gstreamer/Dockerfile-prod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG GSTREAMER_VERSION

FROM livekit/gstreamer:${GSTREAMER_VERSION}-base
FROM livekit/gstreamer:${GSTREAMER_VERSION}-base-${TARGETARCH}

ENV DEBUG=false
ENV OPTIMIZATIONS=true
Expand Down
6 changes: 3 additions & 3 deletions build/gstreamer/Dockerfile-prod-rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG GSTREAMER_VERSION

FROM livekit/gstreamer:${GSTREAMER_VERSION}-base
FROM livekit/gstreamer:${GSTREAMER_VERSION}-base-${TARGETARCH}

FROM livekit/gstreamer:${GSTREAMER_VERSION}-dev
FROM livekit/gstreamer:${GSTREAMER_VERSION}-dev-${TARGETARCH}

COPY --from=0 /gst-plugins-rs /gst-plugins-rs

Expand All @@ -14,6 +14,6 @@ COPY compile-rs /

RUN /compile-rs

FROM livekit/gstreamer:${GSTREAMER_VERSION}-prod
FROM livekit/gstreamer:${GSTREAMER_VERSION}-prod-${TARGETARCH}

COPY --from=1 /compiled-binaries /
4 changes: 3 additions & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"fmt"
"os"
"path"
"runtime"
"strings"

"github.com/livekit/mageutil"
Expand Down Expand Up @@ -165,9 +166,10 @@ func buildGstreamer(cmd string) error {
" --build-arg GSTREAMER_VERSION=%s"+
" --build-arg LIBNICE_VERSION=%s"+
" -t livekit/gstreamer:%s-%s"+
" -t livekit/gstreamer:%s-%s-%s"+
" -f build/gstreamer/Dockerfile-%s"+
" ./build/gstreamer",
cmd, gstVersion, libniceVersion, gstVersion, build, build,
cmd, gstVersion, libniceVersion, gstVersion, build, gstVersion, build, runtime.GOARCH, build,
))
}

Expand Down

0 comments on commit c3b05e4

Please sign in to comment.