Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Dockerfile 2.81 KiB
FROM git.imp.fu-berlin.de:5000/bioroboticslab/robofish/docker:base-windows1809
RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; \
(New-Object Net.WebClient).DownloadFile('https://developer.nvidia.com/compute/cuda/10.1/Prod/network_installers/cuda_10.1.105_win10_network.exe', 'C:/cuda_10.1.105_win10_network.exe'); \
(New-Object Net.WebClient).DownloadFile('https://developer.download.nvidia.com/compute/redist/cudnn/v7.5.0/cudnn-10.1-windows10-x64-v7.5.0.56.zip', 'C:/cudnn-10.1-windows10-x64-v7.5.0.56.zip'); \
Start-Process C:/cuda_10.1.105_win10_network.exe -NoNewWindow -Wait -ArgumentList '-s nvcc_10.1 cublas_10.1 cublas_dev_10.1 cudart_10.1 cufft_10.1 cufft_dev_10.1 curand_10.1 curand_dev_10.1 cusolver_10.1 cusolver_dev_10.1 cusparse_10.1 cusparse_dev_10.1 npp_10.1 npp_dev_10.1 nvrtc_10.1 nvrtc_dev_10.1 nvml_dev_10.1'; \
Remove-Item -Force C:/cuda_10.1.105_win10_network.exe; \
7z x C:/cudnn-10.1-windows10-x64-v7.5.0.56.zip; \
Copy-Item -Force -Recurse "./cuda/*" "$([Environment]::GetEnvironmentVariable('CUDA_PATH', [EnvironmentVariableTarget]::Machine))"; \
Remove-Item -Force -Recurse "./cuda"; \
Remove-Item -Force C:/cudnn-10.1-windows10-x64-v7.5.0.56.zip
COPY opengl32.dll C:/Windows/System32/opengl32.dll
COPY glu32.dll C:/Windows/System32/glu32.dll
COPY ddraw.dll C:/Windows/System32/ddraw.dll
COPY nvcuda.dll C:/Windows/System32/nvcuda.dll
RUN . $Profile; \
cd $env:VCPKG_DIR; \
$vcpkg_triplet = 'x64-windows-14.16'; \
Must-Run ./vcpkg install \
libepoxy:$vcpkg_triplet \
glm:$vcpkg_triplet \
cgal:$vcpkg_triplet \
hdf5:$vcpkg_triplet \
pybind11:$vcpkg_triplet \
boost-program-options:$vcpkg_triplet \
boost-property-tree:$vcpkg_triplet \
boost-circular-buffer:$vcpkg_triplet \
jsoncpp:$vcpkg_triplet \
websocketpp:$vcpkg_triplet \
freetype:$vcpkg_triplet \
harfbuzz:$vcpkg_triplet \
rpclib:$vcpkg_triplet \
"\"opencv[cuda,ffmpeg,ximea,opengl,contrib,ipp,dnn]:$vcpkg_triplet\"" \
"\"mxnet[cpp,opencv,cuda,cudnn]:$vcpkg_triplet\""; \
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/flang.dll ./installed/$vcpkg_triplet/bin/; \
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/flangrti.dll ./installed/$vcpkg_triplet/bin/; \
Copy-Item ./downloads/tools/flang/5.0.0/Library/bin/libomp.dll ./installed/$vcpkg_triplet/bin/; \
[Environment]::SetEnvironmentVariable('VCPKG_TRIPLET', "\"$vcpkg_triplet\"", [EnvironmentVariableTarget]::Machine); \
[Environment]::SetEnvironmentVariable('VCPKG_INSTALL_DIR', "\"$env:VCPKG_DIR/installed/$vcpkg_triplet\"", [EnvironmentVariableTarget]::Machine); \
Remove-Item -Force -Recurse ./downloads; \
Remove-Item -Force -Recurse ./buildtrees; \
Remove-Item -Force -Recurse ./packages;