Skip to content

Commit

Permalink
Add Trusted Signing dlib (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat authored Aug 19, 2024
1 parent 46c9be5 commit e7be808
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions windows/package-x86_64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@ RUN powershell -Command "\
Start-Process '%DOTNET_EXE%' -Wait -ArgumentList '/install', '/quiet', '/norestart' ; \
Remove-Item '%DOTNET_EXE%'"

# Install trusted signing dlib
ARG TS_URL="https://www.nuget.org/api/v2/package/Microsoft.Trusted.Signing.Client/1.0.60"
ARG TS_ZIP="C:/windows/temp/ts_client.zip"
ARG TS_DIR="C:/Program Files/TrustedSigning"
RUN powershell -Command "\
Invoke-WebRequest -Uri '%TS_URL%' -OutFile '%TS_ZIP%' -ErrorAction Stop ; \
Expand-Archive -Path '%TS_ZIP%' -DestinationPath '%TS_DIR%' -Force ; \
Remove-Item '%TS_ZIP%'"

# Download Windows 11 SDK (10.0.22621.2428) and install only `signtool.exe`
ARG SDK_URL="https://go.microsoft.com/fwlink/?linkid=2250105"
ARG SDK_EXE="C:/windows/temp/winsdksetup.exe"
Expand Down

0 comments on commit e7be808

Please sign in to comment.