44
55# To find this value run in powershell:
66# $(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion').ReleaseId
7- ARG WINDOWS_RELEASE_ID=1809
7+ ARG WINDOWS_RELEASE_ID=1909
88ARG TODAYS_DATE=0
99
1010# Indicates that the windows image will be used as the base image. Must be same or older than host.
@@ -54,7 +54,9 @@ ADD https://www.zlatkovic.com/pub/libxml/64bit/iconv-1.14-win32-x86_64.7z C:\TEM
5454# Restore the default Windows shell for correct batch processing.
5555SHELL ["cmd", "/S", "/C"]
5656
57- # 3010 is an acceptable exit code, but it will confuse docker
57+ # 3010 is an acceptable exit code (install was successful but restart required), but it will confuse docker.
58+ # See documentation for installer at:
59+ # https://docs.microsoft.com/en-us/visualstudio/install/use-command-line-parameters-to-install-visual-studio?view=vs-2019
5860RUN C:\TEMP\vs_BuildTools.exe --quiet --wait --norestart --includeRecommended `
5961 --add Microsoft.Net.Component.4.8.SDK `
6062 --add Microsoft.VisualStudio.Workload.VCTools `
@@ -72,9 +74,10 @@ RUN C:\TEMP\python-37.exe /quiet `
7274RUN powershell -noexit "Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))"
7375
7476# choco installs
75- RUN choco install -y cmake curl git KB3035131 KB3033929 KB2919442 vcredist2013 vcredist140 cppcheck
77+ RUN choco install -y cmake curl git vcredist2013 vcredist140 cppcheck patch
78+ #RUN choco install -y cmake curl git KB3035131 KB3033929 KB2919442 vcredist2013 vcredist140 cppcheck patch
7679RUN choco install -y -s C:\TEMP asio cunit eigen tinyxml-usestl tinyxml2 log4cxx
77- RUN choco install -y patch
80+ # RUN choco install -y patch
7881
7982RUN C:\TEMP\Win64OpenSSL.exe /VERYSILENT
8083
@@ -100,7 +103,7 @@ RUN setx PATH "%PATH%;C:\Program Files\Git\cmd;C:\Program Files\CMake\bin;C:\Ope
100103# Invalidate once a day to cause online installers to check for updates
101104RUN echo %TODAYS_DATE%
102105
103- # Run the same install commands but just with the update/upgrade options
106+ # Run the same install commands but just with the update/upgrade options.
104107RUN C:\TEMP\vs_BuildTools.exe update --quiet --wait --norestart --includeRecommended `
105108 --add Microsoft.Net.Component.4.8.SDK `
106109 --add Microsoft.VisualStudio.Workload.VCTools `
@@ -119,30 +122,30 @@ RUN choco upgrade -y all
119122
120123RUN python -m pip install -U pydot PyQt5
121124
122- COPY rticonnextdds-license\rti_license.dat C:\connext\
123- ENV RTI_LICENSE_FILE C:\connext\rti_license.dat
124-
125- COPY rticonnextdds-src\openssl-1.0.2n-target-x64Win64VS2017.zip C:\TEMP\connext\
126- RUN 7z.exe x C:\TEMP\connext\openssl-1.0.2n-target-x64Win64VS2017.zip -aoa -oC:\connext\
127- ENV RTI_OPENSSL_BIN C:\connext\openssl-1.0.2n\x64Win64VS2017\release\bin
128- ENV RTI_OPENSSL_LIB C:\connext\openssl-1.0.2n\x64Win64VS2017\release\lib
129-
130- COPY rticonnextdds-src\rti_connext_dds-5.3.1-pro-host-x64Win64.exe.??? C:\TEMP\connext\
131- RUN copy /b C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe.??? C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe
132- RUN C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe `
133- --mode unattended `
134- --unattendedmodeui minimalWithDialogs `
135- --prefix "%ProgramFiles%"
136-
137- COPY rticonnextdds-src\openssl-1.0.2n-5.3.1-host-x64Win64.rtipkg C:\TEMP\connext\
138- RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\openssl-1.0.2n-5.3.1-host-x64Win64.rtipkg"
139- COPY rticonnextdds-src\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg.??? C:\TEMP\connext\
140- RUN copy /b C:\TEMP\connext\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg.??? C:\TEMP\connext\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg
141- RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg"
142- COPY rticonnextdds-src\rti_security_plugins-5.3.1-host-x64Win64.rtipkg C:\TEMP\connext\
143- RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\rti_security_plugins-5.3.1-host-x64Win64.rtipkg"
144- COPY rticonnextdds-src\rti_security_plugins-5.3.1-target-x64Win64VS2017.rtipkg C:\TEMP\connext\
145- RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\rti_security_plugins-5.3.1-target-x64Win64VS2017.rtipkg"
125+ # COPY rticonnextdds-license\rti_license.dat C:\connext\
126+ # ENV RTI_LICENSE_FILE C:\connext\rti_license.dat
127+
128+ # COPY rticonnextdds-src\openssl-1.0.2n-target-x64Win64VS2017.zip C:\TEMP\connext\
129+ # RUN 7z.exe x C:\TEMP\connext\openssl-1.0.2n-target-x64Win64VS2017.zip -aoa -oC:\connext\
130+ # NV RTI_OPENSSL_BIN C:\connext\openssl-1.0.2n\x64Win64VS2017\release\bin
131+ # ENV RTI_OPENSSL_LIB C:\connext\openssl-1.0.2n\x64Win64VS2017\release\lib
132+
133+ # COPY rticonnextdds-src\rti_connext_dds-5.3.1-pro-host-x64Win64.exe.??? C:\TEMP\connext\
134+ # RUN copy /b C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe.??? C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe
135+ # RUN C:\TEMP\connext\rti_connext_dds-5.3.1-pro-host-x64Win64.exe `
136+ # --mode unattended `
137+ # --unattendedmodeui minimalWithDialogs `
138+ # --prefix "%ProgramFiles%"
139+
140+ # COPY rticonnextdds-src\openssl-1.0.2n-5.3.1-host-x64Win64.rtipkg C:\TEMP\connext\
141+ # RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\openssl-1.0.2n-5.3.1-host-x64Win64.rtipkg"
142+ # COPY rticonnextdds-src\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg.??? C:\TEMP\connext\
143+ # RUN copy /b C:\TEMP\connext\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg.??? C:\TEMP\connext\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg
144+ # RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\rti_connext_dds-5.3.1-pro-target-x64Win64VS2017.rtipkg"
145+ # COPY rticonnextdds-src\rti_security_plugins-5.3.1-host-x64Win64.rtipkg C:\TEMP\connext\
146+ # RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\rti_security_plugins-5.3.1-host-x64Win64.rtipkg"
147+ # COPY rticonnextdds-src\rti_security_plugins-5.3.1-target-x64Win64VS2017.rtipkg C:\TEMP\connext\
148+ # RUN ""%ProgramFiles%\rti_connext_dds-5.3.1\bin\rtipkginstall.bat" C:\TEMP\connext\rti_security_plugins-5.3.1-target-x64Win64VS2017.rtipkg"
146149
147150RUN powershell -Command Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1
148151RUN mkdir C:\ws
0 commit comments