-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ WORKDIR /build/webrtc-streamer | |
|
||
COPY . . | ||
|
||
ENV PATH /depot_tools:$PATH | ||
ENV PATH /depot_tools:/build/webrtc/src/third_party/llvm-build/Release+Asserts/bin:$PATH | ||
|
||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates wget git python3 python3-pkg-resources g++ autoconf automake libtool xz-utils libpulse-dev libasound2-dev libgtk-3-dev libxtst-dev libssl-dev librtmp-dev cmake make pkg-config p7zip-full sudo \ | ||
&& useradd -m -s /bin/bash $USERNAME \ | ||
|
@@ -19,13 +19,14 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins | |
&& sed -i -e "s|'src/resources'],|'src/resources'],'condition':'rtc_include_tests==true',|" src/DEPS \ | ||
&& gclient sync \ | ||
&& cd ../webrtc-streamer \ | ||
&& cmake -DCMAKE_INSTALL_PREFIX=/app . && make \ | ||
&& cmake -DCMAKE_INSTALL_PREFIX=/app -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ . && make \ | ||
&& make install \ | ||
&& rm -rf ../webrtc/src/out \ | ||
&& apt-get clean && rm -rf /var/lib/apt/lists/ | ||
|
||
# run | ||
FROM ubuntu:24.04 | ||
LABEL [email protected] | ||
|
||
WORKDIR /app/webrtc-streamer | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins | |
|
||
# run | ||
FROM --platform=arm64 ubuntu:24.04 | ||
LABEL [email protected] | ||
|
||
WORKDIR /app/webrtc-streamer | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins | |
|
||
# run | ||
FROM $IMAGE | ||
LABEL [email protected] | ||
|
||
WORKDIR /app/webrtc-streamer | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,7 @@ RUN powershell -c "sleep -Seconds 60" && time /t | |
|
||
# run | ||
FROM mcr.microsoft.com/windows/server:ltsc2022 | ||
LABEL [email protected] | ||
|
||
WORKDIR /app/webrtc-streamer | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters