File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -119,6 +119,11 @@ RUN powershell pkg-resolver\install-python.ps1
119
119
RUN powershell pkg-resolver\install-pip.ps1
120
120
RUN powershell pip install python-dateutil
121
121
122
+ ## Install the Microsoft Visual C++ 2010 Redistributable to link leveldbjni native library
123
+ RUN powershell -Command Invoke-WebRequest -Uri https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x64.exe -OutFile vcredist_x64.exe
124
+ RUN powershell -Command Start-Process -FilePath .\vcredist_x64.exe -ArgumentList '/quiet', '/norestart' -Wait
125
+ RUN powershell -Command Remove-Item vcredist_x64.exe
126
+
122
127
# Create a user HadoopBuilder with basic privileges and use it for building Hadoop on Windows.
123
128
RUN powershell New-LocalUser -Name 'HadoopBuilder' -Description 'User account for building Apache Hadoop' -Password ([securestring]::new()) -AccountNeverExpires -PasswordNeverExpires
124
129
You can’t perform that action at this time.
0 commit comments