2020-10-27 22:03:02 +00:00
|
|
|
# escape=`
|
|
|
|
|
2023-07-19 07:53:22 +00:00
|
|
|
FROM "registry.freedesktop.org/gstreamer/gstreamer/amd64/windows:2023-07-17.0-main"
|
2020-10-27 22:03:02 +00:00
|
|
|
|
2023-12-19 12:12:18 +00:00
|
|
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
2020-10-27 22:03:02 +00:00
|
|
|
|
2024-03-19 07:55:53 +00:00
|
|
|
ARG DEFAULT_BRANCH="1.24"
|
2020-10-27 22:03:02 +00:00
|
|
|
ARG RUST_VERSION="invalid"
|
|
|
|
|
2023-05-11 16:23:50 +00:00
|
|
|
RUN choco install -y pkgconfiglite nasm llvm openssl
|
2022-08-18 09:51:04 +00:00
|
|
|
|
|
|
|
# https://stackoverflow.com/a/50716450
|
2022-08-25 18:28:45 +00:00
|
|
|
RUN setx PATH '%PATH%;C:\Program Files\NASM;C:\gst-install\bin'
|
2022-08-17 15:03:27 +00:00
|
|
|
ENV PKG_CONFIG_PATH="C:\gst-install\lib\pkgconfig"
|
2020-10-27 22:03:02 +00:00
|
|
|
|
2024-08-12 15:38:15 +00:00
|
|
|
COPY install_gst.ps1 install_dav1d.ps1 install_rust.ps1 install_cargo_utils.ps1 C:\
|
2022-08-17 14:31:28 +00:00
|
|
|
RUN C:\install_gst.ps1
|
2022-08-25 18:28:45 +00:00
|
|
|
RUN C:\install_dav1d.ps1
|
2024-08-12 15:38:15 +00:00
|
|
|
RUN C:\install_rust.ps1
|
|
|
|
RUN C:\install_cargo_utils.ps1
|