mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-25 06:05:37 +03:00
win32 update
This commit is contained in:
parent
12c1d07434
commit
ee6b3dce4a
@ -43,17 +43,10 @@ VOLUME C:\\EpicMorg\\mount
|
|||||||
RUN powershell -Command \
|
RUN powershell -Command \
|
||||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
|
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
|
||||||
|
|
||||||
# set mirror of chocolatey to bypass ratelimits
|
|
||||||
RUN choco source disable -n=chocolatey
|
|
||||||
RUN choco source add -n=vault -s="https://repo.vault.center/artifactory/api/nuget/chocolatey"
|
|
||||||
RUN choco source
|
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# install vcredist packages
|
# install vcredist packages
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN cinst -y --force --ignore-checksums --allow-empty-checksums --ignoredetectedreboot \
|
RUN cinst -y --ignore-checksums --allow-empty-checksums --ignoredetectedreboot --ignore-package-exit-codes \
|
||||||
# vb5runtime \
|
|
||||||
vjredist \
|
|
||||||
visualfsharptools \
|
visualfsharptools \
|
||||||
vcredist2005 \
|
vcredist2005 \
|
||||||
vcredist2008 \
|
vcredist2008 \
|
||||||
@ -69,10 +62,9 @@ RUN cinst -y --force --ignore-checksums --allow-empty-checksums --ignoredetected
|
|||||||
##################################################################
|
##################################################################
|
||||||
# install dotnet packages
|
# install dotnet packages
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN cinst -y --force --ignore-checksums --allow-empty-checksums --ignoredetectedreboot \
|
RUN cinst -y --ignore-checksums --allow-empty-checksums --ignoredetectedreboot --ignore-package-exit-codes \
|
||||||
dotnet1.1 \
|
dotnet1.1 \
|
||||||
dotnetsdk1.1 \
|
dotnetsdk1.1 \
|
||||||
dotnet3.5 \
|
|
||||||
dotnetfx \
|
dotnetfx \
|
||||||
netfx-4.8-devpack \
|
netfx-4.8-devpack \
|
||||||
dotnet \
|
dotnet \
|
||||||
@ -88,7 +80,7 @@ RUN curl -fSLo patch.msu https://download.microsoft.com/download/1/d/1/1d162522-
|
|||||||
mkdir patch&& \
|
mkdir patch&& \
|
||||||
&& expand patch.msu patch -F:* && \
|
&& expand patch.msu patch -F:* && \
|
||||||
&& del /F /Q patch.msu && \
|
&& del /F /Q patch.msu && \
|
||||||
&& dism /Online /Quiet /Add-Package /PackagePath:C:\patch\windows10.0-kb9008395-x64-ndp48.cab && \
|
&& dism /Online /Quiet /Add-Package /PackagePath:C:\EpicMorg\patch\windows10.0-kb9008395-x64-ndp48.cab && \
|
||||||
&& rmdir /S /Q patch && \
|
&& rmdir /S /Q patch && \
|
||||||
# Ngen top of assembly graph to optimize a set of frequently used assemblies
|
# Ngen top of assembly graph to optimize a set of frequently used assemblies
|
||||||
&& %windir%\Microsoft.NET\Framework64\v4.0.30319\ngen install "Microsoft.PowerShell.Utility.Activities, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" && \
|
&& %windir%\Microsoft.NET\Framework64\v4.0.30319\ngen install "Microsoft.PowerShell.Utility.Activities, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" && \
|
||||||
@ -101,7 +93,7 @@ RUN curl -fSLo patch.msu https://download.microsoft.com/download/1/d/1/1d162522-
|
|||||||
##################################################################
|
##################################################################
|
||||||
# install base packages
|
# install base packages
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN cinst -y --force --ignore-checksums --allow-empty-checksums --ignoredetectedreboot \
|
RUN cinst -y --ignore-checksums --allow-empty-checksums --ignoredetectedreboot --ignore-package-exit-codes \
|
||||||
psexec \
|
psexec \
|
||||||
curl \
|
curl \
|
||||||
far \
|
far \
|
||||||
@ -125,7 +117,7 @@ RUN cinst -y --force --ignore-checksums --allow-empty-checksums --ignoredetected
|
|||||||
##################################################################
|
##################################################################
|
||||||
# install archive packages
|
# install archive packages
|
||||||
##################################################################
|
##################################################################
|
||||||
RUN cinst -y --force --ignore-checksums --allow-empty-checksums --ignoredetectedreboot \
|
RUN cinst -y --ignore-checksums --allow-empty-checksums --ignoredetectedreboot --ignore-package-exit-codes \
|
||||||
7zip \
|
7zip \
|
||||||
7zip-zstd \
|
7zip-zstd \
|
||||||
7zip.commandline \
|
7zip.commandline \
|
||||||
|
Loading…
Reference in New Issue
Block a user