mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-12-24 09:00:32 +00:00
68571f6f75
Originally done in https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1591 Was dropped by accident before merging. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1593>
23 lines
817 B
Docker
23 lines
817 B
Docker
# escape=`
|
|
|
|
FROM "registry.freedesktop.org/gstreamer/gstreamer/amd64/windows:2024-11-05.0-main"
|
|
|
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
|
|
|
# These arguments are always required to be specified with --build-arg
|
|
# when building the image.
|
|
# See DOCKER_BUILD_ARGS in .gitlab-ci.yml for an example
|
|
ARG DEFAULT_BRANCH="invalid"
|
|
ARG RUST_VERSION="invalid"
|
|
|
|
RUN choco install -y pkgconfiglite nasm llvm openssl
|
|
|
|
# https://stackoverflow.com/a/50716450
|
|
RUN setx PATH '%PATH%;C:\Program Files\NASM;C:\gst-install\bin'
|
|
ENV PKG_CONFIG_PATH="C:\gst-install\lib\pkgconfig"
|
|
|
|
COPY install_gst.ps1 install_dav1d.ps1 install_rust.ps1 install_cargo_utils.ps1 C:\
|
|
RUN C:\install_gst.ps1
|
|
RUN C:\install_dav1d.ps1
|
|
RUN C:\install_rust.ps1
|
|
RUN C:\install_cargo_utils.ps1
|