mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-11 10:56:38 +00:00
bb56d6eab7
This also comes with a docker image to collect all dependencies and build everything. Fixes https://github.com/centricular/gstwebrtc-demos/pull/20
13 lines
380 B
Docker
13 lines
380 B
Docker
FROM maxmcd/gstreamer:1.14-buster
|
|
|
|
RUN apt-get install -y curl
|
|
RUN wget -O rustup.sh https://sh.rustup.rs && sh ./rustup.sh -y
|
|
ENV PATH=$PATH:/root/.cargo/bin/
|
|
|
|
WORKDIR /opt/
|
|
COPY . /opt/
|
|
RUN cargo build
|
|
|
|
CMD echo "Waiting a few seconds for you to open the browser at localhost:8080" \
|
|
&& sleep 10 \
|
|
&& /opt/target/debug/gst-rust --peer-id=1 --server=ws://signalling:8443
|