Skip to content

Instantly share code, notes, and snippets.

@ajeetraina
Last active March 31, 2017 10:48
Show Gist options
  • Save ajeetraina/a883a865277cd2fc68a93207a0f70992 to your computer and use it in GitHub Desktop.
Save ajeetraina/a883a865277cd2fc68a93207a0f70992 to your computer and use it in GitHub Desktop.
Dell OME on Windows 2016 using Docker
SOFTWARE TO INSTALL:
===========================
IIS Server
IIS Roles & Services
ASP.NET Framework & All Features
Microsoft (R) Visual Studio Runtime.
Microsoft SQL Express 2012 SP1 with Essentials specific instance (SQLEXPRESSOME)
IPMI Utility
EMC(R) Navisphere(R) CLI application (NaviCLI)
DRAC
===================================
FROM microsoft/mssql-server-windows
#FROM windowsservercore:10.0.14300.1000
RUN powershell -Command Add-WindowsFeature Web-Server
# use chocolatey pkg mgr to facilitate installs
RUN @powershell -NoProfile -ExecutionPolicy unrestricted -Command "(iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))) >$null 2>&1" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
#set workdir to ensure msbuild targets found in expected spot
WORKDIR /windows/system32
#install ASP.NET 4.6 (though it says "net45" it is ASP.NET 4.6)
#install tools and targets to allow build (via msbuild) without VS installed
RUN powershell add-windowsfeature web-asp-net45 \
RUN powershell add-windowsfeature Web-Server \
&& choco install microsoft-build-tools -y \
&& choco install dotnet4.6-targetpack -y \
&& choco install nuget.commandline -y \
&& choco install silverlight -y \
&& nuget install MSBuild.Microsoft.VisualStudio.Web.targets -Version 14.0.0
RUN powershell wget https://downloads.dell.com/FOLDER02867225M/1/OM-DRAC-Dell-Web-WINX64-8.1.0-1518_A00.exe
RUN powershell Start-Process -FilePath "C:\windows\system32\OM-DRAC-Dell-Web-WINX64-8.1.0-1518_A00.exe" -ArgumentList "/S /v/qn"
DotNet4.5.2 v4.5.2.20140902 [Approved]
dotnet4.5.2 package files install completed. Performing other installation steps.
Microsoft .Net 4.5.2 Framework is already installed on your machine.
The install of dotnet4.5.2 was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
microsoft-build-tools v14.0.25420.1 [Approved]
microsoft-build-tools package files install completed. Performing other installation steps.
WARNING: Url has SSL/TLS available, switching to HTTPS for download
Downloading microsoft-build-tools
from 'https://download.microsoft.com/download/4/3/3/4330912d-79ae-4037-8a55-7a8fc6b5eb68/buildtools_full.exe'
Progress: 100% - Completed download of C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\microsoft-build-too
ls\14.0.25420.1\buildtools_full.exe (28.03 MB).
Download of buildtools_full.exe (28.03 MB) completed.
Installing microsoft-build-tools...
microsoft-build-tools has been installed.
The install of microsoft-build-tools was successful.
Software installed as 'EXE', install location is likely default.
Chocolatey installed 2/2 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Chocolatey v0.10.3
Installing the following packages:
dotnet4.6-targetpack
By installing you accept licenses for the packages.
DotNet4.6 v4.6.00081.20150925 [Approved] - Possibly broken
dotnet4.6 package files install completed. Performing other installation steps.
Microsoft .NET Framework 4.6 or later is already installed
The install of dotnet4.6 was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
DotNet4.6-TargetPack v4.6.00081.20150925 [Approved] - Possibly broken
dotnet4.6-targetpack package files install completed. Performing other installation steps.
WARNING: Url has SSL/TLS available, switching to HTTPS for download
Downloading DotNet46-TargetPack
from 'https://download.microsoft.com/download/8/2/F/82FF2034-83E6-4F93-900D-F88C7AD9F3EE/NDP46-TargetingPack-KB3045566
.exe'
Progress: 100% - Completed download of C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\DotNet4.6-TargetPac
k\4.6.00081.20150925\NDP46-TargetingPack-KB3045566.exe (12.91 MB).
Download of NDP46-TargetingPack-KB3045566.exe (12.91 MB) completed.
Installing DotNet46-TargetPack...
DotNet46-TargetPack has been installed.
WARNING: Url has SSL/TLS available, switching to HTTPS for download
Downloading DotNet46-TargetPack-enu
from 'https://download.microsoft.com/download/8/2/F/82FF2034-83E6-4F93-900D-F88C7AD9F3EE/NDP46-TargetingPack-KB3045566
-ENU.exe'
Progress: 100% - Completed download of C:\Users\ContainerAdministrator\AppData\Local\Temp\chocolatey\DotNet4.6-TargetPac
k\4.6.00081.20150925\NDP46-TargetingPack-KB3045566-ENU.exe (6.68 MB).
Download of NDP46-TargetingPack-KB3045566-ENU.exe (6.68 MB) completed.
Installing DotNet46-TargetPack-enu...
DotNet46-TargetPack-enu has been installed.
The install of dotnet4.6-targetpack was successful.
Software installed as 'exe', install location is likely default.
Chocolatey installed 2/2 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Chocolatey v0.10.3
Installing the following packages:
nuget.commandline
By installing you accept licenses for the packages.
NuGet.CommandLine v3.4.3 [Approved]
nuget.commandline package files install completed. Performing other installation steps.
ShimGen has successfully created a shim for NuGet.exe
The install of nuget.commandline was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
Chocolatey installed 1/1 packages. 0 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Feeds used:
C:\Users\ContainerAdministrator\AppData\Local\NuGet\Cache
https://api.nuget.org/v3/index.json
Attempting to gather dependency information for package 'MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0' with respect
to project 'C:\windows\system32', targeting 'Any,Version=v0.0'
Attempting to resolve dependencies for package 'MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0' with DependencyBehavi
or 'Lowest'
Resolving actions to install package 'MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0'
Resolved actions to install package 'MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0'
GET https://api.nuget.org/packages/msbuild.microsoft.visualstudio.web.targets.14.0.0.nupkg
OK https://api.nuget.org/packages/msbuild.microsoft.visualstudio.web.targets.14.0.0.nupkg 10ms
Acquiring lock for the installation of MSBuild.Microsoft.VisualStudio.Web.targets 14.0.0
Acquired lock for the installation of MSBuild.Microsoft.VisualStudio.Web.targets 14.0.0
Installing MSBuild.Microsoft.VisualStudio.Web.targets 14.0.0.
Completed installation of MSBuild.Microsoft.VisualStudio.Web.targets 14.0.0
Adding package 'MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0' to folder 'C:\windows\system32'
Added package 'MSBuild.Microsoft.VisualStudio.Web.targets.14.0.0' to folder 'C:\windows\system32'
Successfully installed 'MSBuild.Microsoft.VisualStudio.Web.targets 14.0.0' to C:\windows\system32
---> 3ab41b855fac
Removing intermediate container aab031c512e8
=========================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment