diff --git a/Dockerfile b/Dockerfile index 4304349055..9fd38ffc7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM --platform=linux/amd64 golang:1.24.1 AS builder +FROM --platform=$BUILDPLATFORM golang:1.24.1 AS builder ENV GO111MODULE=on ENV CGO_ENABLED=0 ENV GOBIN=/bin @@ -21,7 +21,7 @@ COPY . ./ RUN set -xe && GOOS=$TARGETOS GOARCH=$TARGETARCH go build -o /go/bin/stream ./cmd/stream -FROM --platform=linux/amd64 alpine +FROM --platform=$BUILDPLATFORM alpine RUN set -xe && apk add --no-cache ffmpeg RUN apk add --no-cache ca-certificates jq bash \ diff --git a/internal/pkg/transcoder/queue.go b/internal/pkg/transcoder/scheduler.go similarity index 100% rename from internal/pkg/transcoder/queue.go rename to internal/pkg/transcoder/scheduler.go