This is an automated email from the ASF dual-hosted git repository. gaurava pushed a commit to branch docker-local-ci in repository https://gitbox.apache.org/repos/asf/hadoop.git
commit 0041c3b097018566d0807d0a16764b7016b9bfe0 Author: Gautham Banasandra <gautham.bangal...@gmail.com> AuthorDate: Sun Jul 13 22:33:19 2025 +0530 Install Git to C:\Git --- dev-support/docker/Dockerfile_windows_10 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dev-support/docker/Dockerfile_windows_10 b/dev-support/docker/Dockerfile_windows_10 index 974df018ae0..4a03a4f3a8b 100644 --- a/dev-support/docker/Dockerfile_windows_10 +++ b/dev-support/docker/Dockerfile_windows_10 @@ -41,9 +41,8 @@ RUN curl -SL --output vs_buildtools.exe https://aka.ms/vs/16/release/vs_buildtoo ENV chocolateyVersion=1.4.0 RUN powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" -# Install git. -RUN choco install git.install -y -RUN powershell Copy-Item -Recurse -Path 'C:\Program Files\Git' -Destination C:\Git +# Install git directly to C:\Git using Chocolatey +RUN choco install git.install -y --params "/DIR:C:\Git" # Install vcpkg. # hadolint ignore=DL3003 @@ -158,8 +157,5 @@ RUN setx classpath "" RUN git config --global core.autocrlf true RUN git config --global core.longpaths true -# Uninstall Git installed from Program Files via Chocolatey -RUN choco uninstall git.install -y - # Define the entry point for the docker container. ENTRYPOINT ["C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat", "&&", "cmd.exe"] --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org