mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-23 08:36:31 +00:00
5e27da5a1c
Tests disabled for now, till some quirks are worked out. Thi should be good enough to at least not break the build though. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/701>
18 lines
583 B
Docker
18 lines
583 B
Docker
# escape=`
|
|
|
|
FROM "registry.freedesktop.org/gstreamer/gstreamer/amd64/windows:2022-05-16.1-main"
|
|
|
|
# Make sure any failure in PowerShell is fatal
|
|
ENV ErrorActionPreference='Stop'
|
|
SHELL ["powershell","-NoLogo", "-NonInteractive", "-Command"]
|
|
|
|
ARG DEFAULT_BRANCH="main"
|
|
ARG RUST_VERSION="invalid"
|
|
|
|
COPY install_gst.ps1 C:\
|
|
RUN C:\install_gst.ps1
|
|
RUN choco install -y pkgconfiglite
|
|
ENV PKG_CONFIG_PATH="C:/lib/pkgconfig"
|
|
|
|
RUN Invoke-WebRequest -Uri https://win.rustup.rs/x86_64 -OutFile C:\rustup-init.exe
|
|
RUN C:\rustup-init.exe -y --profile minimal --default-toolchain $env:RUST_VERSION
|