Skip to content

Commit 8337251

Browse files
HADOOP-19487. Upgrade libopenssl to 3.1.1 for rsync on Windows (#7487)
* We're currently using libopenssl 3.1.0 which is needed for rsync 3.2.7 on Windows for the Yetus build validation. * However, libopenssl 3.1.0 is no longer available for download on the msys2 site. * This PR upgrades libopenssl to the next available version - 3.1.1 to mitigate this issue.
1 parent 4baa167 commit 8337251

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dev-support/docker/Dockerfile_windows_10

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ RUN powershell Invoke-WebRequest -Uri https://github.com/facebook/zstd/releases/
8181
RUN powershell Expand-Archive -Path $Env:TEMP\zstd-v1.5.4-win64.zip -DestinationPath "C:\ZStd"
8282
RUN setx PATH "%PATH%;C:\ZStd"
8383

84-
# Install libopenssl 3.1.0 needed for rsync 3.2.7.
85-
RUN powershell Invoke-WebRequest -Uri https://repo.msys2.org/msys/x86_64/libopenssl-3.1.0-2-x86_64.pkg.tar.zst -OutFile $Env:TEMP\libopenssl-3.1.0-2-x86_64.pkg.tar.zst
86-
RUN powershell zstd -d $Env:TEMP\libopenssl-3.1.0-2-x86_64.pkg.tar.zst -o $Env:TEMP\libopenssl-3.1.0-2-x86_64.pkg.tar
84+
# Install libopenssl 3.1.1 needed for rsync 3.2.7.
85+
RUN powershell Invoke-WebRequest -Uri https://repo.msys2.org/msys/x86_64/libopenssl-3.1.1-1-x86_64.pkg.tar.zst -OutFile $Env:TEMP\libopenssl-3.1.1-1-x86_64.pkg.tar.zst
86+
RUN powershell zstd -d $Env:TEMP\libopenssl-3.1.1-1-x86_64.pkg.tar.zst -o $Env:TEMP\libopenssl-3.1.1-1-x86_64.pkg.tar
8787
RUN powershell mkdir "C:\LibOpenSSL"
88-
RUN powershell tar -xvf $Env:TEMP\libopenssl-3.1.0-2-x86_64.pkg.tar -C "C:\LibOpenSSL"
88+
RUN powershell tar -xvf $Env:TEMP\libopenssl-3.1.1-1-x86_64.pkg.tar -C "C:\LibOpenSSL"
8989

9090
# Install libxxhash 0.8.1 needed for rsync 3.2.7.
9191
RUN powershell Invoke-WebRequest -Uri https://repo.msys2.org/msys/x86_64/libxxhash-0.8.1-1-x86_64.pkg.tar.zst -OutFile $Env:TEMP\libxxhash-0.8.1-1-x86_64.pkg.tar.zst

0 commit comments

Comments
 (0)