Skip to content

Commit

Permalink
fix: cannot install msys2 packages
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Jun 29, 2021
1 parent a3332df commit 5db311e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/windows/x86_64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ FROM builder as msys2
RUN setx path "C:\msys64\usr\bin;%PATH%"

# Install MSYS2
RUN curl -L https://github.com/msys2/msys2-installer/releases/download/2020-06-29/msys2-base-x86_64-20200629.sfx.exe -o C:\TEMP\msys2-installer.exe
# TODO: check sha256
RUN curl -L http://repo.msys2.org/distrib/x86_64/msys2-base-x86_64-20210604.sfx.exe -o C:\TEMP\msys2-installer.exe
RUN C:\TEMP\msys2-installer.exe -y -oC:\ && del C:\TEMP\msys2-installer.exe

# This command may hang and in that case, "C:\ProgramData\Docker\tmp\hcs*\Files\$Recycle.Bin\" should be removed manually.
Expand Down

0 comments on commit 5db311e

Please sign in to comment.