├── .gitattributes
├── .gitignore
├── LICENSE
├── README.md
├── Update-Readme.ps1
├── images
├── 7.5 rev. 150212
│ └── windowsservercore
│ │ ├── sitecore-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ └── build.json
│ │ └── sitecore
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ ├── Scripts
│ │ │ ├── Watch-Directory.ps1
│ │ │ └── Watch.ps1
│ │ └── Website
│ │ │ └── App_Config
│ │ │ ├── ConnectionStrings.config
│ │ │ └── Include
│ │ │ └── DataFolder.config
│ │ └── build.json
├── 8.2 rev. 161221
│ └── windowsservercore
│ │ ├── sitecore-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ └── build.json
│ │ └── sitecore
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ ├── Scripts
│ │ │ ├── Watch-Directory.ps1
│ │ │ └── Watch.ps1
│ │ └── Website
│ │ │ └── App_Config
│ │ │ ├── ConnectionStrings.config
│ │ │ └── Include
│ │ │ └── DataFolder.config
│ │ └── build.json
├── 8.2 rev. 170407
│ └── windowsservercore
│ │ ├── sitecore-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ └── build.json
│ │ └── sitecore
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ ├── Scripts
│ │ │ ├── Watch-Directory.ps1
│ │ │ └── Watch.ps1
│ │ └── Website
│ │ │ └── App_Config
│ │ │ ├── ConnectionStrings.config
│ │ │ └── Include
│ │ │ └── DataFolder.config
│ │ └── build.json
├── 8.2 rev. 170614
│ └── windowsservercore
│ │ ├── sitecore-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ └── build.json
│ │ └── sitecore
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ ├── Scripts
│ │ │ ├── Watch-Directory.ps1
│ │ │ └── Watch.ps1
│ │ └── Website
│ │ │ └── App_Config
│ │ │ ├── ConnectionStrings.config
│ │ │ └── Include
│ │ │ └── DataFolder.config
│ │ └── build.json
├── 8.2 rev. 170728
│ └── windowsservercore
│ │ └── sitecore
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ ├── Scripts
│ │ │ ├── Watch-Directory.ps1
│ │ │ └── Watch.ps1
│ │ └── Website
│ │ │ └── App_Config
│ │ │ └── Include
│ │ │ └── DataFolder.config
│ │ └── build.json
├── 8.2 rev. 171121
│ └── windowsservercore
│ │ └── sitecore
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ ├── Scripts
│ │ │ ├── Watch-Directory.ps1
│ │ │ └── Watch.ps1
│ │ └── Website
│ │ │ └── App_Config
│ │ │ └── Include
│ │ │ └── DataFolder.config
│ │ └── build.json
├── 8.2 rev. 180406
│ ├── nanoserver-1803
│ │ └── sitecore-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ ├── MapDrive.cmd
│ │ │ ├── build.json
│ │ │ ├── schema.xml
│ │ │ └── solrconfig.xml
│ ├── nanoserver
│ │ └── sitecore-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ ├── build.json
│ │ │ ├── schema.xml
│ │ │ └── solrconfig.xml
│ └── windowsservercore
│ │ ├── sitecore-cd
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-cm
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-processing
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-reporting
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ └── build.json
│ │ └── sitecore
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ ├── Scripts
│ │ │ ├── Watch-Directory.ps1
│ │ │ └── Watch.ps1
│ │ └── Website
│ │ │ └── App_Config
│ │ │ └── Include
│ │ │ └── DataFolder.config
│ │ └── build.json
├── 9.0.0 rev. 171002
│ └── windowsservercore
│ │ ├── sitecore-base
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ ├── Extract-Databases.ps1
│ │ ├── Install-Databases.ps1
│ │ └── build.json
│ │ ├── sitecore-xm1-cd
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ ├── Watch-Directory.ps1
│ │ │ │ └── Watch.ps1
│ │ └── build.json
│ │ └── sitecore-xm1-cm
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ └── Scripts
│ │ │ ├── Watch-Directory.ps1
│ │ │ └── Watch.ps1
│ │ └── build.json
├── 9.0.1 rev. 171219
│ ├── nanoserver
│ │ └── sitecore-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ ├── MapDrive.cmd
│ │ │ └── build.json
│ └── windowsservercore
│ │ ├── sitecore-base
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ ├── Extract-Databases.ps1
│ │ ├── Install-Databases.ps1
│ │ └── build.json
│ │ ├── sitecore-xm1-cd
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ ├── Watch-Directory.ps1
│ │ │ │ └── Watch.ps1
│ │ └── build.json
│ │ └── sitecore-xm1-cm
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ └── Scripts
│ │ │ ├── Watch-Directory.ps1
│ │ │ └── Watch.ps1
│ │ └── build.json
├── 9.0.2 rev. 180604
│ ├── nanoserver-1709-1803
│ │ ├── sitecore-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ ├── MapDrive.cmd
│ │ │ └── build.json
│ │ └── sitecore-xp-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ ├── MapDrive.cmd
│ │ │ └── build.json
│ ├── nanoserver
│ │ ├── sitecore-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ └── build.json
│ │ └── sitecore-xp-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ └── build.json
│ └── windowsservercore
│ │ ├── sitecore-base
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ ├── Extract-Databases.ps1
│ │ ├── Install-Databases.ps1
│ │ └── build.json
│ │ ├── sitecore-xm1-cd
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ ├── Watch-Directory.ps1
│ │ │ │ └── Watch.ps1
│ │ └── build.json
│ │ ├── sitecore-xm1-cm
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ ├── Watch-Directory.ps1
│ │ │ │ └── Watch.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-base
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-xp-cd
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ └── Watch-Directory.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ ├── Extract-Databases.ps1
│ │ ├── Install-Databases.ps1
│ │ ├── Install-Shards.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-standalone
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ ├── Config
│ │ │ │ └── SitecoreServices.EnabledRemoteAccess.config
│ │ │ └── Scripts
│ │ │ │ └── Watch-Directory.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-xconnect-automationengine
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-xp-xconnect-indexworker
│ │ ├── Dockerfile
│ │ └── build.json
│ │ └── sitecore-xp-xconnect
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ └── Scripts
│ │ │ └── Watch-Directory.ps1
│ │ ├── build.json
│ │ └── disable-solr-ssl.json
├── 9.1.0 rev. 001564
│ ├── nanoserver-1803
│ │ ├── sitecore-xm1-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ ├── MapDrive.cmd
│ │ │ └── build.json
│ │ └── sitecore-xp-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ ├── MapDrive.cmd
│ │ │ └── build.json
│ ├── nanoserver
│ │ ├── sitecore-xm1-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ └── build.json
│ │ └── sitecore-xp-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ └── build.json
│ └── windowsservercore
│ │ ├── sitecore-base
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-xm1-cd
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ └── Watch-Directory.ps1
│ │ └── build.json
│ │ ├── sitecore-xm1-cm
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ └── Watch-Directory.ps1
│ │ └── build.json
│ │ ├── sitecore-xm1-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ ├── Extract-Databases.ps1
│ │ ├── Install-Databases.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-base
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-xp-cd
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ └── Watch-Directory.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ ├── Extract-Databases.ps1
│ │ ├── Install-Databases.ps1
│ │ ├── Install-Shards.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-standalone
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ ├── Config
│ │ │ │ └── SitecoreServices.EnabledRemoteAccess.config
│ │ │ └── Scripts
│ │ │ │ └── Watch-Directory.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-xconnect-automationengine
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-xp-xconnect-indexworker
│ │ ├── Dockerfile
│ │ └── build.json
│ │ └── sitecore-xp-xconnect
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ └── Scripts
│ │ │ └── Watch-Directory.ps1
│ │ ├── build.json
│ │ └── disable-solr-ssl.json
├── 9.1.1 rev. 002459
│ ├── nanoserver
│ │ ├── sitecore-xm1-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ └── build.json
│ │ └── sitecore-xp-solr
│ │ │ ├── Boot.cmd
│ │ │ ├── Dockerfile
│ │ │ ├── apply-solr-commands.json
│ │ │ └── build.json
│ └── windowsservercore
│ │ ├── sitecore-base
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-xm1-cd
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ └── Watch-Directory.ps1
│ │ └── build.json
│ │ ├── sitecore-xm1-cm
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ └── Watch-Directory.ps1
│ │ └── build.json
│ │ ├── sitecore-xm1-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ ├── Extract-Databases.ps1
│ │ ├── Install-Databases.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-base
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-xp-cd
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ └── Scripts
│ │ │ │ └── Watch-Directory.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-sqldev
│ │ ├── Boot.ps1
│ │ ├── Dockerfile
│ │ ├── Extract-Databases.ps1
│ │ ├── Install-Databases.ps1
│ │ ├── Install-Shards.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-standalone
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ │ ├── Config
│ │ │ │ └── SitecoreServices.EnabledRemoteAccess.config
│ │ │ └── Scripts
│ │ │ │ └── Watch-Directory.ps1
│ │ └── build.json
│ │ ├── sitecore-xp-xconnect-automationengine
│ │ ├── Dockerfile
│ │ └── build.json
│ │ ├── sitecore-xp-xconnect-indexworker
│ │ ├── Dockerfile
│ │ └── build.json
│ │ └── sitecore-xp-xconnect
│ │ ├── Dockerfile
│ │ ├── Sitecore
│ │ └── Scripts
│ │ │ └── Watch-Directory.ps1
│ │ ├── build.json
│ │ └── disable-solr-ssl.json
├── mssql-developer-2017
│ └── windowsservercore
│ │ ├── Dockerfile
│ │ ├── Start.ps1
│ │ └── build.json
└── sitecore-openjdk
│ └── nanoserver
│ ├── Dockerfile
│ └── build.json
├── modules
└── SitecoreImageBuilder
│ ├── SitecoreImageBuilder.psd1
│ └── SitecoreImageBuilder.psm1
├── sitecore-packages.json
├── tests
├── 7.5 rev. 150212
│ └── 1803
│ │ ├── data
│ │ ├── mongo
│ │ │ └── README.md
│ │ ├── sql
│ │ │ └── README.md
│ │ └── standalone
│ │ │ └── README.md
│ │ └── docker-compose.standalone.yml
├── 8.2 rev. 161221
│ └── 1803
│ │ ├── data
│ │ ├── cm
│ │ │ └── README.md
│ │ ├── mongo
│ │ │ └── README.md
│ │ └── sql
│ │ │ └── README.md
│ │ └── docker-compose.yml
├── 8.2 rev. 170407
│ └── 1803
│ │ ├── data
│ │ ├── mongo
│ │ │ └── README.md
│ │ ├── sql
│ │ │ └── README.md
│ │ └── standalone
│ │ │ └── README.md
│ │ └── docker-compose.standalone.yml
├── 8.2 rev. 170614
│ └── 1803
│ │ ├── data
│ │ ├── mongo
│ │ │ └── README.md
│ │ ├── sql
│ │ │ └── README.md
│ │ └── standalone
│ │ │ └── README.md
│ │ └── docker-compose.standalone.yml
├── 9.0.1 rev. 180604
│ └── 1803
│ │ ├── data
│ │ ├── cd
│ │ │ └── README.md
│ │ ├── cm
│ │ │ └── README.md
│ │ ├── solr
│ │ │ └── README.md
│ │ ├── sql
│ │ │ └── README.md
│ │ ├── xconnect-automationengine
│ │ │ └── README.md
│ │ ├── xconnect-indexworker
│ │ │ └── README.md
│ │ └── xconnect
│ │ │ └── README.md
│ │ └── docker-compose.xp.yml
├── 9.0.2 rev. 180604
│ ├── 1803
│ │ ├── data
│ │ │ ├── cd
│ │ │ │ └── README.md
│ │ │ ├── cm
│ │ │ │ └── README.md
│ │ │ ├── solr
│ │ │ │ └── README.md
│ │ │ ├── sql
│ │ │ │ └── README.md
│ │ │ ├── xconnect-automationengine
│ │ │ │ └── README.md
│ │ │ ├── xconnect-indexworker
│ │ │ │ └── README.md
│ │ │ └── xconnect
│ │ │ │ └── README.md
│ │ ├── docker-compose.xm.yml
│ │ └── docker-compose.xp.yml
│ └── ltsc2019
│ │ ├── data
│ │ ├── cm
│ │ │ └── README.md
│ │ ├── solr
│ │ │ └── README.md
│ │ └── sql
│ │ │ └── README.md
│ │ └── docker-compose.yml
├── 9.1.0 rev. 001564
│ ├── 1803
│ │ ├── data
│ │ │ ├── cd
│ │ │ │ └── README.md
│ │ │ ├── cm
│ │ │ │ └── README.md
│ │ │ ├── solr
│ │ │ │ └── README.md
│ │ │ ├── sql
│ │ │ │ └── README.md
│ │ │ ├── xconnect-automationengine
│ │ │ │ └── README.md
│ │ │ ├── xconnect-indexworker
│ │ │ │ └── README.md
│ │ │ └── xconnect
│ │ │ │ └── README.md
│ │ ├── docker-compose.xm.yml
│ │ └── docker-compose.xp.yml
│ └── ltsc2019
│ │ ├── data
│ │ ├── cd
│ │ │ └── README.md
│ │ ├── cm
│ │ │ └── README.md
│ │ ├── solr
│ │ │ └── README.md
│ │ ├── sql
│ │ │ └── README.md
│ │ ├── xconnect-automationengine
│ │ │ └── README.md
│ │ ├── xconnect-indexworker
│ │ │ └── README.md
│ │ └── xconnect
│ │ │ └── README.md
│ │ ├── docker-compose.xm.yml
│ │ └── docker-compose.xp.yml
└── 9.1.1 rev. 002459
│ └── windowsservercore
│ ├── .env
│ ├── README.MD
│ ├── data
│ ├── cd
│ │ └── README.md
│ ├── cm
│ │ └── README.md
│ ├── creativeexchange
│ │ └── README.md
│ ├── solr
│ │ └── README.md
│ ├── sql
│ │ └── README.md
│ ├── xconnect-automationengine
│ │ └── README.md
│ ├── xconnect-indexworker
│ │ └── README.md
│ └── xconnect
│ │ └── README.md
│ ├── docker-compose.xm.jss.yml
│ ├── docker-compose.xm.pse.yml
│ ├── docker-compose.xm.sxa.yml
│ ├── docker-compose.xm.yml
│ ├── docker-compose.xp.jss.yml
│ ├── docker-compose.xp.pse.yml
│ ├── docker-compose.xp.sxa.yml
│ └── docker-compose.xp.yml
└── variants
└── 9.1.1
└── windowsservercore
├── jss
├── sitecore-xm1-jss-11.0.1-cm
│ ├── Dockerfile
│ ├── build.json
│ └── install-package.json
├── sitecore-xm1-jss-11.0.1-sqldev
│ ├── Dockerfile
│ ├── Extract-Databases.ps1
│ ├── Install-Databases.ps1
│ └── build.json
├── sitecore-xm1-jss.11.0.1-cd
│ ├── Dockerfile
│ ├── build.json
│ └── install-package.json
├── sitecore-xp-jss-11.0.1-sqldev
│ ├── Dockerfile
│ ├── Extract-Databases.ps1
│ ├── Install-Databases.ps1
│ └── build.json
├── sitecore-xp-jss-11.0.1-standalone
│ ├── Dockerfile
│ ├── build.json
│ └── install-package.json
└── sitecore-xp-jss.11.0.1-cd
│ ├── Dockerfile
│ ├── build.json
│ └── install-package.json
├── pse
├── sitecore-xm1-pse-5.0-cm
│ ├── Dockerfile
│ ├── build.json
│ └── install-package.json
├── sitecore-xm1-pse-5.0-sqldev
│ ├── Dockerfile
│ ├── Extract-Databases.ps1
│ ├── Install-Databases.ps1
│ └── build.json
├── sitecore-xp-pse-5.0-sqldev
│ ├── Dockerfile
│ ├── Extract-Databases.ps1
│ ├── Install-Databases.ps1
│ └── build.json
└── sitecore-xp-pse-5.0-standalone
│ ├── Dockerfile
│ ├── build.json
│ └── install-package.json
└── sxa
├── sitecore-xm1-sxa-1.8.1-cm
├── Dockerfile
├── build.json
└── install-package.json
├── sitecore-xm1-sxa-1.8.1-sqldev
├── Dockerfile
├── Extract-Databases.ps1
├── Install-Databases.ps1
└── build.json
├── sitecore-xm1-sxa.1.8.1-cd
├── Dockerfile
├── build.json
└── install-package.json
├── sitecore-xp-sxa-1.8.1-sqldev
├── Dockerfile
├── Extract-Databases.ps1
├── Install-Databases.ps1
└── build.json
├── sitecore-xp-sxa-1.8.1-standalone
├── Dockerfile
├── build.json
└── install-package.json
└── sitecore-xp-sxa.1.8.1-cd
├── Dockerfile
├── build.json
└── install-package.json
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
4 | # Custom for Visual Studio
5 | *.cs diff=csharp
6 |
7 | # Standard to msysgit
8 | *.doc diff=astextplain
9 | *.DOC diff=astextplain
10 | *.docx diff=astextplain
11 | *.DOCX diff=astextplain
12 | *.dot diff=astextplain
13 | *.DOT diff=astextplain
14 | *.pdf diff=astextplain
15 | *.PDF diff=astextplain
16 | *.rtf diff=astextplain
17 | *.RTF diff=astextplain
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.zip
2 | license.xml
3 | *-Local.ps1
4 |
5 | internal/
6 | packages/
7 |
8 | tests/**/data/**/*
9 | !tests/**/data/*/
10 | !tests/**/data/*/README.md
11 | /sources
12 | /build.ps1
13 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Per Manniche Bering
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/images/7.5 rev. 150212/windowsservercore/sitecore-sqldev/Boot.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath
9 | )
10 |
11 | $noDatabases = (Get-ChildItem -Path $DataPath -Filter "*.mdf") -eq $null
12 |
13 | if ($noDatabases)
14 | {
15 | Write-Host "### Sitecore databases not found in '$DataPath', seeding clean databases..."
16 |
17 | Get-ChildItem -Path $InstallPath | ForEach-Object {
18 | Copy-Item -Path $_.FullName -Destination $DataPath
19 | }
20 | }
21 | else
22 | {
23 | Write-Host "### Existing Sitecore databases found in '$DataPath'..."
24 | }
25 |
26 | Get-ChildItem -Path $DataPath -Filter "*.mdf" | ForEach-Object {
27 | $databaseName = $_.BaseName.Replace("_Primary", "")
28 | $mdfPath = $_.FullName
29 | $ldfPath = $mdfPath -ireplace [regex]::Escape(".mdf"), ".ldf"
30 | $sqlcmd = "IF EXISTS (SELECT 1 FROM SYS.DATABASES WHERE NAME = '$databaseName') BEGIN EXEC sp_detach_db [$databaseName] END;CREATE DATABASE [$databaseName] ON (FILENAME = N'$mdfPath'), (FILENAME = N'$ldfPath') FOR ATTACH;"
31 |
32 | Write-Host "### Attaching '$databaseName'..."
33 |
34 | Invoke-Sqlcmd -Query $sqlcmd
35 | }
36 |
37 | Write-Host "### Sitecore databases ready!"
38 |
39 | # Call Start.ps1 from the base image https://github.com/Microsoft/mssql-docker/blob/master/windows/mssql-server-windows-developer/dockerfile
40 | & C:\Start.ps1 -sa_password $env:sa_password -ACCEPT_EULA $env:ACCEPT_EULA -attach_dbs \"$env:attach_dbs\" -Verbose
41 |
--------------------------------------------------------------------------------
/images/7.5 rev. 150212/windowsservercore/sitecore-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | INSTALL_PATH='c:/install/' `
9 | DATA_PATH='c:/data/'
10 |
11 | COPY *.zip .
12 |
13 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
14 | Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
15 | Remove-Item 'C:\Sitecore*.zip' -Force; `
16 | Move-Item -Path 'C:\Sitecore *\Databases' -Destination $env:INSTALL_PATH; `
17 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
18 |
19 | COPY Boot.ps1 .
20 |
21 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH
--------------------------------------------------------------------------------
/images/7.5 rev. 150212/windowsservercore/sitecore-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore-sqldev:7.5.150212-windowsservercore-1803",
4 | "build-options": [
5 | "--memory 4GB",
6 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
7 | ],
8 | "deprecated": true
9 | },
10 | "sources": [
11 | "Sitecore 7.5 rev. 150212.zip"
12 | ]
13 | }
--------------------------------------------------------------------------------
/images/7.5 rev. 150212/windowsservercore/sitecore/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | FROM mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803
3 |
4 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
5 |
6 | COPY *.zip .
7 |
8 | RUN Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
9 | Remove-Item 'C:\Sitecore*.zip' -Force; `
10 | New-Item -Path 'C:\Sitecore' -Type Directory | Out-Null; `
11 | Move-Item -Path 'C:\Sitecore *\Data' -Destination 'C:\Sitecore'; `
12 | Move-Item -Path 'C:\Sitecore *\Website' -Destination 'C:\Sitecore'; `
13 | Remove-Item -Path 'C:\Sitecore\Data\logs' -Recurse -Force; `
14 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
15 |
16 | COPY Sitecore /Sitecore
17 | COPY license.xml /Sitecore/Data
18 |
19 | RUN Import-Module WebAdministration; `
20 | Set-ItemProperty -Path 'IIS:\Sites\Default Web Site' -Name 'physicalPath' -Value 'C:\Sitecore\Website'; `
21 | Set-ItemProperty -Path 'IIS:\AppPools\DefaultAppPool' -Name 'enable32BitAppOnWin64' -Value 'True'; `
22 | Set-Itemproperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord; `
23 | setx /M PATH $($env:PATH + ';C:\Sitecore\Scripts');
24 |
--------------------------------------------------------------------------------
/images/7.5 rev. 150212/windowsservercore/sitecore/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\Sitecore\Website"
--------------------------------------------------------------------------------
/images/7.5 rev. 150212/windowsservercore/sitecore/Sitecore/Website/App_Config/ConnectionStrings.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/images/7.5 rev. 150212/windowsservercore/sitecore/Sitecore/Website/App_Config/Include/DataFolder.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | C:\Sitecore\Data
5 |
6 |
7 |
--------------------------------------------------------------------------------
/images/7.5 rev. 150212/windowsservercore/sitecore/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore:7.5.150212-windowsservercore-1803",
4 | "build-options": [],
5 | "deprecated": true
6 | },
7 | "sources": [
8 | "license.xml",
9 | "Sitecore 7.5 rev. 150212.zip"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/images/8.2 rev. 161221/windowsservercore/sitecore-sqldev/Boot.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath
9 | )
10 |
11 | $noDatabases = (Get-ChildItem -Path $DataPath -Filter "*.mdf") -eq $null
12 |
13 | if ($noDatabases)
14 | {
15 | Write-Host "### Sitecore databases not found in '$DataPath', seeding clean databases..."
16 |
17 | Get-ChildItem -Path $InstallPath | ForEach-Object {
18 | Copy-Item -Path $_.FullName -Destination $DataPath
19 | }
20 | }
21 | else
22 | {
23 | Write-Host "### Existing Sitecore databases found in '$DataPath'..."
24 | }
25 |
26 | Get-ChildItem -Path $DataPath -Filter "*.mdf" | ForEach-Object {
27 | $databaseName = $_.BaseName.Replace("_Primary", "")
28 | $mdfPath = $_.FullName
29 | $ldfPath = $mdfPath.Replace(".mdf", ".ldf")
30 | $sqlcmd = "IF EXISTS (SELECT 1 FROM SYS.DATABASES WHERE NAME = '$databaseName') BEGIN EXEC sp_detach_db [$databaseName] END;CREATE DATABASE [$databaseName] ON (FILENAME = N'$mdfPath'), (FILENAME = N'$ldfPath') FOR ATTACH;"
31 |
32 | Write-Host "### Attaching '$databaseName'..."
33 |
34 | Invoke-Sqlcmd -Query $sqlcmd
35 | }
36 |
37 | Write-Host "### Sitecore databases ready!"
38 |
39 | # Call Start.ps1 from the base image https://github.com/Microsoft/mssql-docker/blob/master/windows/mssql-server-windows-developer/dockerfile
40 | & C:\Start.ps1 -sa_password $env:sa_password -ACCEPT_EULA $env:ACCEPT_EULA -attach_dbs \"$env:attach_dbs\" -Verbose
41 |
--------------------------------------------------------------------------------
/images/8.2 rev. 161221/windowsservercore/sitecore-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | INSTALL_PATH='c:/install/' `
9 | DATA_PATH='c:/data/'
10 |
11 | COPY *.zip .
12 |
13 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
14 | Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
15 | Remove-Item 'C:\Sitecore*.zip' -Force; `
16 | Move-Item -Path 'C:\Sitecore *\Databases' -Destination $env:INSTALL_PATH; `
17 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
18 |
19 | COPY Boot.ps1 .
20 |
21 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH
22 |
--------------------------------------------------------------------------------
/images/8.2 rev. 161221/windowsservercore/sitecore-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-sqldev:8.2.161221-windowsservercore-1803",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-sqldev:8.2.161221-windowsservercore-1709",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1709"
15 | ],
16 | "deprecated": true
17 | }
18 | ],
19 | "sources": [
20 | "Sitecore 8.2 rev. 161221.zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/8.2 rev. 161221/windowsservercore/sitecore/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
7 |
8 | COPY *.zip .
9 |
10 | RUN Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
11 | Remove-Item 'C:\Sitecore*.zip' -Force; `
12 | New-Item -Path 'C:\Sitecore' -Type Directory | Out-Null; `
13 | Move-Item -Path 'C:\Sitecore *\Data' -Destination 'C:\Sitecore'; `
14 | Move-Item -Path 'C:\Sitecore *\Website' -Destination 'C:\Sitecore'; `
15 | Remove-Item -Path 'C:\Sitecore\Data\logs' -Recurse -Force; `
16 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
17 |
18 | COPY Sitecore /Sitecore
19 | COPY license.xml /Sitecore/Data
20 |
21 | RUN Import-Module WebAdministration; `
22 | Set-ItemProperty -Path 'IIS:\Sites\Default Web Site' -Name 'physicalPath' -Value 'C:\Sitecore\Website'; `
23 | Set-ItemProperty -Path 'IIS:\AppPools\DefaultAppPool' -Name 'enable32BitAppOnWin64' -Value 'True'; `
24 | Set-Itemproperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord; `
25 | setx /M PATH $($env:PATH + ';C:\Sitecore\Scripts');
26 |
27 |
--------------------------------------------------------------------------------
/images/8.2 rev. 161221/windowsservercore/sitecore/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\Sitecore\Website"
--------------------------------------------------------------------------------
/images/8.2 rev. 161221/windowsservercore/sitecore/Sitecore/Website/App_Config/ConnectionStrings.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/images/8.2 rev. 161221/windowsservercore/sitecore/Sitecore/Website/App_Config/Include/DataFolder.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | C:\Sitecore\Data
5 |
6 |
7 |
--------------------------------------------------------------------------------
/images/8.2 rev. 161221/windowsservercore/sitecore/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore:8.2.161221-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore:8.2.161221-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": [
18 | "license.xml",
19 | "Sitecore 8.2 rev. 161221.zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170407/windowsservercore/sitecore-sqldev/Boot.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath
9 | )
10 |
11 | $noDatabases = (Get-ChildItem -Path $DataPath -Filter "*.mdf") -eq $null
12 |
13 | if ($noDatabases)
14 | {
15 | Write-Host "### Sitecore databases not found in '$DataPath', seeding clean databases..."
16 |
17 | Get-ChildItem -Path $InstallPath | ForEach-Object {
18 | Copy-Item -Path $_.FullName -Destination $DataPath
19 | }
20 | }
21 | else
22 | {
23 | Write-Host "### Existing Sitecore databases found in '$DataPath'..."
24 | }
25 |
26 | Get-ChildItem -Path $DataPath -Filter "*.mdf" | ForEach-Object {
27 | $databaseName = $_.BaseName.Replace("_Primary", "")
28 | $mdfPath = $_.FullName
29 | $ldfPath = $mdfPath.Replace(".mdf", ".ldf")
30 | $sqlcmd = "IF EXISTS (SELECT 1 FROM SYS.DATABASES WHERE NAME = '$databaseName') BEGIN EXEC sp_detach_db [$databaseName] END;CREATE DATABASE [$databaseName] ON (FILENAME = N'$mdfPath'), (FILENAME = N'$ldfPath') FOR ATTACH;"
31 |
32 | Write-Host "### Attaching '$databaseName'..."
33 |
34 | Invoke-Sqlcmd -Query $sqlcmd
35 | }
36 |
37 | Write-Host "### Sitecore databases ready!"
38 |
39 | # Call Start.ps1 from the base image https://github.com/Microsoft/mssql-docker/blob/master/windows/mssql-server-windows-developer/dockerfile
40 | & C:\Start.ps1 -sa_password $env:sa_password -ACCEPT_EULA $env:ACCEPT_EULA -attach_dbs \"$env:attach_dbs\" -Verbose
41 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170407/windowsservercore/sitecore-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | INSTALL_PATH='c:/install/' `
9 | DATA_PATH='c:/data/'
10 |
11 | COPY *.zip .
12 |
13 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
14 | Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
15 | Remove-Item 'C:\Sitecore*.zip' -Force; `
16 | Move-Item -Path 'C:\Sitecore *\Databases' -Destination $env:INSTALL_PATH; `
17 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
18 |
19 | COPY Boot.ps1 .
20 |
21 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH
22 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170407/windowsservercore/sitecore-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-sqldev:8.2.170407-windowsservercore-1803",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-sqldev:8.2.170407-windowsservercore-1709",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1709"
15 | ],
16 | "deprecated": true
17 | }
18 | ],
19 | "sources": [
20 | "Sitecore 8.2 rev. 170407.zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170407/windowsservercore/sitecore/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
7 |
8 | COPY *.zip .
9 |
10 | RUN Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
11 | Remove-Item 'C:\Sitecore*.zip' -Force; `
12 | New-Item -Path 'C:\Sitecore' -Type Directory | Out-Null; `
13 | Move-Item -Path 'C:\Sitecore *\Data' -Destination 'C:\Sitecore'; `
14 | Move-Item -Path 'C:\Sitecore *\Website' -Destination 'C:\Sitecore'; `
15 | Remove-Item -Path 'C:\Sitecore\Data\logs' -Recurse -Force; `
16 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
17 |
18 | COPY Sitecore /Sitecore
19 | COPY license.xml /Sitecore/Data
20 |
21 | RUN Import-Module WebAdministration; `
22 | Set-ItemProperty -Path 'IIS:\Sites\Default Web Site' -Name 'physicalPath' -Value 'C:\Sitecore\Website'; `
23 | Set-ItemProperty -Path 'IIS:\AppPools\DefaultAppPool' -Name 'enable32BitAppOnWin64' -Value 'True'; `
24 | Set-Itemproperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord; `
25 | setx /M PATH $($env:PATH + ';C:\Sitecore\Scripts');
26 |
27 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170407/windowsservercore/sitecore/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\Sitecore\Website"
--------------------------------------------------------------------------------
/images/8.2 rev. 170407/windowsservercore/sitecore/Sitecore/Website/App_Config/ConnectionStrings.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170407/windowsservercore/sitecore/Sitecore/Website/App_Config/Include/DataFolder.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | C:\Sitecore\Data
5 |
6 |
7 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170407/windowsservercore/sitecore/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore:8.2.170407-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore:8.2.170407-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": [
18 | "license.xml",
19 | "Sitecore 8.2 rev. 170407.zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170614/windowsservercore/sitecore-sqldev/Boot.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath
9 | )
10 |
11 | $noDatabases = (Get-ChildItem -Path $DataPath -Filter "*.mdf") -eq $null
12 |
13 | if ($noDatabases)
14 | {
15 | Write-Host "### Sitecore databases not found in '$DataPath', seeding clean databases..."
16 |
17 | Get-ChildItem -Path $InstallPath | ForEach-Object {
18 | Copy-Item -Path $_.FullName -Destination $DataPath
19 | }
20 | }
21 | else
22 | {
23 | Write-Host "### Existing Sitecore databases found in '$DataPath'..."
24 | }
25 |
26 | Get-ChildItem -Path $DataPath -Filter "*.mdf" | ForEach-Object {
27 | $databaseName = $_.BaseName.Replace("_Primary", "")
28 | $mdfPath = $_.FullName
29 | $ldfPath = $mdfPath.Replace(".mdf", ".ldf")
30 | $sqlcmd = "IF EXISTS (SELECT 1 FROM SYS.DATABASES WHERE NAME = '$databaseName') BEGIN EXEC sp_detach_db [$databaseName] END;CREATE DATABASE [$databaseName] ON (FILENAME = N'$mdfPath'), (FILENAME = N'$ldfPath') FOR ATTACH;"
31 |
32 | Write-Host "### Attaching '$databaseName'..."
33 |
34 | Invoke-Sqlcmd -Query $sqlcmd
35 | }
36 |
37 | Write-Host "### Sitecore databases ready!"
38 |
39 | # Call Start.ps1 from the base image https://github.com/Microsoft/mssql-docker/blob/master/windows/mssql-server-windows-developer/dockerfile
40 | & C:\Start.ps1 -sa_password $env:sa_password -ACCEPT_EULA $env:ACCEPT_EULA -attach_dbs \"$env:attach_dbs\" -Verbose
41 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170614/windowsservercore/sitecore-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | INSTALL_PATH='c:/install/' `
9 | DATA_PATH='c:/data/'
10 |
11 | COPY *.zip .
12 |
13 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
14 | Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
15 | Remove-Item 'C:\Sitecore*.zip' -Force; `
16 | Move-Item -Path 'C:\Sitecore *\Databases' -Destination $env:INSTALL_PATH; `
17 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
18 |
19 | COPY Boot.ps1 .
20 |
21 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH
22 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170614/windowsservercore/sitecore-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-sqldev:8.2.170614-windowsservercore-1803",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-sqldev:8.2.170614-windowsservercore-1709",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1709"
15 | ],
16 | "deprecated": true
17 | }
18 | ],
19 | "sources": [
20 | "Sitecore 8.2 rev. 170614.zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170614/windowsservercore/sitecore/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
7 |
8 | COPY *.zip .
9 |
10 | RUN Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
11 | Remove-Item 'C:\Sitecore*.zip' -Force; `
12 | New-Item -Path 'C:\Sitecore' -Type Directory | Out-Null; `
13 | Move-Item -Path 'C:\Sitecore *\Data' -Destination 'C:\Sitecore'; `
14 | Move-Item -Path 'C:\Sitecore *\Website' -Destination 'C:\Sitecore'; `
15 | Remove-Item -Path 'C:\Sitecore\Data\logs' -Recurse -Force; `
16 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
17 |
18 | COPY Sitecore /Sitecore
19 | COPY license.xml /Sitecore/Data
20 |
21 | RUN Import-Module WebAdministration; `
22 | Set-ItemProperty -Path 'IIS:\Sites\Default Web Site' -Name 'physicalPath' -Value 'C:\Sitecore\Website'; `
23 | Set-ItemProperty -Path 'IIS:\AppPools\DefaultAppPool' -Name 'enable32BitAppOnWin64' -Value 'True'; `
24 | Set-Itemproperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord; `
25 | setx /M PATH $($env:PATH + ';C:\Sitecore\Scripts');
26 |
27 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170614/windowsservercore/sitecore/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\Sitecore\Website"
--------------------------------------------------------------------------------
/images/8.2 rev. 170614/windowsservercore/sitecore/Sitecore/Website/App_Config/ConnectionStrings.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170614/windowsservercore/sitecore/Sitecore/Website/App_Config/Include/DataFolder.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | C:\Sitecore\Data
5 |
6 |
7 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170614/windowsservercore/sitecore/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore:8.2.170614-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore:8.2.170614-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": [
18 | "license.xml",
19 | "Sitecore 8.2 rev. 170614.zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170728/windowsservercore/sitecore/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
7 |
8 | COPY *.zip .
9 |
10 | RUN Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
11 | Remove-Item 'C:\Sitecore*.zip' -Force; `
12 | New-Item -Path 'C:\Sitecore' -Type Directory | Out-Null; `
13 | Move-Item -Path 'C:\Sitecore *\Data' -Destination 'C:\Sitecore'; `
14 | Move-Item -Path 'C:\Sitecore *\Website' -Destination 'C:\Sitecore'; `
15 | Remove-Item -Path 'C:\Sitecore\Data\logs' -Recurse -Force; `
16 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
17 |
18 | COPY Sitecore /Sitecore
19 | COPY license.xml /Sitecore/Data
20 |
21 | RUN Import-Module WebAdministration; `
22 | Set-ItemProperty -Path 'IIS:\Sites\Default Web Site' -Name 'physicalPath' -Value 'C:\Sitecore\Website'; `
23 | Set-ItemProperty -Path 'IIS:\AppPools\DefaultAppPool' -Name 'enable32BitAppOnWin64' -Value 'True'; `
24 | Set-Itemproperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord; `
25 | setx /M PATH $($env:PATH + ';C:\Sitecore\Scripts');
26 |
27 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170728/windowsservercore/sitecore/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\Sitecore\Website"
--------------------------------------------------------------------------------
/images/8.2 rev. 170728/windowsservercore/sitecore/Sitecore/Website/App_Config/Include/DataFolder.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | C:\Sitecore\Data
5 |
6 |
7 |
--------------------------------------------------------------------------------
/images/8.2 rev. 170728/windowsservercore/sitecore/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore:8.2.170728-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore:8.2.170728-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": [
18 | "license.xml",
19 | "Sitecore 8.2 rev. 170728.zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/8.2 rev. 171121/windowsservercore/sitecore/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
7 |
8 | COPY *.zip .
9 |
10 | RUN Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
11 | Remove-Item 'C:\Sitecore*.zip' -Force; `
12 | New-Item -Path 'C:\Sitecore' -Type Directory | Out-Null; `
13 | Move-Item -Path 'C:\Sitecore *\Data' -Destination 'C:\Sitecore'; `
14 | Move-Item -Path 'C:\Sitecore *\Website' -Destination 'C:\Sitecore'; `
15 | Remove-Item -Path 'C:\Sitecore\Data\logs' -Recurse -Force; `
16 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
17 |
18 | COPY Sitecore /Sitecore
19 | COPY license.xml /Sitecore/Data
20 |
21 | RUN Import-Module WebAdministration; `
22 | Set-ItemProperty -Path 'IIS:\Sites\Default Web Site' -Name 'physicalPath' -Value 'C:\Sitecore\Website'; `
23 | Set-ItemProperty -Path 'IIS:\AppPools\DefaultAppPool' -Name 'enable32BitAppOnWin64' -Value 'True'; `
24 | Set-Itemproperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord; `
25 | setx /M PATH $($env:PATH + ';C:\Sitecore\Scripts');
26 |
27 |
--------------------------------------------------------------------------------
/images/8.2 rev. 171121/windowsservercore/sitecore/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\Sitecore\Website"
--------------------------------------------------------------------------------
/images/8.2 rev. 171121/windowsservercore/sitecore/Sitecore/Website/App_Config/Include/DataFolder.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | C:\Sitecore\Data
5 |
6 |
7 |
--------------------------------------------------------------------------------
/images/8.2 rev. 171121/windowsservercore/sitecore/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore:8.2.171121-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore:8.2.171121-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": [
18 | "license.xml",
19 | "Sitecore 8.2 rev. 171121.zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/nanoserver-1803/sitecore-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/nanoserver-1803/sitecore-solr/MapDrive.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET DRIVE_LETTER=%1
3 | REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices" /v %DRIVE_LETTER% /d "\??\C:\data" /reg:64
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/nanoserver-1803/sitecore-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore-solr:8.2.180406-nanoserver-1803",
4 | "build-options": [
5 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803",
6 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1803"
7 | ]
8 | },
9 | "sources": []
10 | }
11 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/nanoserver/sitecore-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/nanoserver/sitecore-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore-solr:8.2.180406-nanoserver-1809",
4 | "build-options": [
5 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-ltsc2019",
6 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1809"
7 | ]
8 | },
9 | "sources": []
10 | }
11 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-cd:8.2.180406-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore:8.2.180406-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-cd:8.2.180406-windowsservercore-1803",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore:8.2.180406-windowsservercore-1803"
13 | ]
14 | }
15 | ],
16 | "sources": []
17 | }
18 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore-cm/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-cm:8.2.180406-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore:8.2.180406-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-cm:8.2.180406-windowsservercore-1803",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore:8.2.180406-windowsservercore-1803"
13 | ]
14 | }
15 | ],
16 | "sources": []
17 | }
18 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore-processing/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-processing:8.2.180406-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore:8.2.180406-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-processing:8.2.180406-windowsservercore-1803",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore:8.2.180406-windowsservercore-1803"
13 | ]
14 | }
15 | ],
16 | "sources": []
17 | }
18 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore-reporting/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-reporting:8.2.180406-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore:8.2.180406-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-reporting:8.2.180406-windowsservercore-1803",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore:8.2.180406-windowsservercore-1803"
13 | ]
14 | }
15 | ],
16 | "sources": []
17 | }
18 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore-sqldev/Boot.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath
9 | )
10 |
11 | $noDatabases = (Get-ChildItem -Path $DataPath -Filter "*.mdf") -eq $null
12 |
13 | if ($noDatabases)
14 | {
15 | Write-Host "### Sitecore databases not found in '$DataPath', seeding clean databases..."
16 |
17 | Get-ChildItem -Path $InstallPath | ForEach-Object {
18 | Copy-Item -Path $_.FullName -Destination $DataPath
19 | }
20 | }
21 | else
22 | {
23 | Write-Host "### Existing Sitecore databases found in '$DataPath'..."
24 | }
25 |
26 | Get-ChildItem -Path $DataPath -Filter "*.mdf" | ForEach-Object {
27 | $databaseName = $_.BaseName.Replace("_Primary", "")
28 | $mdfPath = $_.FullName
29 | $ldfPath = $mdfPath.Replace(".mdf", ".ldf")
30 | $sqlcmd = "IF EXISTS (SELECT 1 FROM SYS.DATABASES WHERE NAME = '$databaseName') BEGIN EXEC sp_detach_db [$databaseName] END;CREATE DATABASE [$databaseName] ON (FILENAME = N'$mdfPath'), (FILENAME = N'$ldfPath') FOR ATTACH;"
31 |
32 | Write-Host "### Attaching '$databaseName'..."
33 |
34 | Invoke-Sqlcmd -Query $sqlcmd
35 | }
36 |
37 | Write-Host "### Sitecore databases ready!"
38 |
39 | # Call Start.ps1 from the base image https://github.com/Microsoft/mssql-docker/blob/master/windows/mssql-server-windows-developer/dockerfile
40 | & C:\Start.ps1 -sa_password $env:sa_password -ACCEPT_EULA $env:ACCEPT_EULA -attach_dbs \"$env:attach_dbs\" -Verbose
41 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | INSTALL_PATH='c:/install/' `
9 | DATA_PATH='c:/data/'
10 |
11 | COPY *.zip .
12 |
13 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
14 | Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
15 | Remove-Item 'C:\Sitecore*.zip' -Force; `
16 | Move-Item -Path 'C:\Sitecore *\Databases' -Destination $env:INSTALL_PATH; `
17 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
18 |
19 | COPY Boot.ps1 .
20 |
21 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH
22 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-sqldev:8.2.180406-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-sqldev:8.2.180406-windowsservercore-1803",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore 8.2 rev. 180406.zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
7 |
8 | COPY *.zip .
9 |
10 | RUN Expand-Archive -Path 'C:\Sitecore*.zip' -DestinationPath 'C:'; `
11 | Remove-Item 'C:\Sitecore*.zip' -Force; `
12 | New-Item -Path 'C:\Sitecore' -Type Directory | Out-Null; `
13 | Move-Item -Path 'C:\Sitecore *\Data' -Destination 'C:\Sitecore'; `
14 | Move-Item -Path 'C:\Sitecore *\Website' -Destination 'C:\Sitecore'; `
15 | Remove-Item -Path 'C:\Sitecore\Data\logs' -Recurse -Force; `
16 | Remove-Item -Path 'C:\Sitecore *rev*' -Recurse -Force;
17 |
18 | COPY Sitecore /Sitecore
19 | COPY license.xml /Sitecore/Data
20 |
21 | RUN Import-Module WebAdministration; `
22 | Set-ItemProperty -Path 'IIS:\Sites\Default Web Site' -Name 'physicalPath' -Value 'C:\Sitecore\Website'; `
23 | Set-ItemProperty -Path 'IIS:\AppPools\DefaultAppPool' -Name 'enable32BitAppOnWin64' -Value 'True'; `
24 | Set-Itemproperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord; `
25 | setx /M PATH $($env:PATH + ';C:\Sitecore\Scripts');
26 |
27 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\Sitecore\Website"
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore/Sitecore/Website/App_Config/Include/DataFolder.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | C:\Sitecore\Data
5 |
6 |
7 |
--------------------------------------------------------------------------------
/images/8.2 rev. 180406/windowsservercore/sitecore/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore:8.2.180406-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore:8.2.180406-windowsservercore-1803",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803"
13 | ]
14 | },
15 | {
16 | "tag": "sitecore:8.2.180406-windowsservercore-1709",
17 | "build-options": [
18 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1709"
19 | ],
20 | "deprecated": true
21 | }
22 | ],
23 | "sources": [
24 | "license.xml",
25 | "Sitecore 8.2 rev. 180406.zip"
26 | ]
27 | }
28 |
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-base/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
7 |
8 | ENV INSTALL_TEMP='c:\\install'
9 | ARG WEBDEPLOY_MSI=${INSTALL_TEMP}\\webdeploy.msi
10 | ARG URLREWRITE_MSI=${INSTALL_TEMP}\\urlrewrite.msi
11 | ARG VCREDISTX64_EXE=${INSTALL_TEMP}\\VC_redist.x64.exe
12 |
13 | ADD https://download.microsoft.com/download/0/1/D/01DC28EA-638C-4A22-A57B-4CEF97755C6C/WebDeploy_amd64_en-US.msi ${WEBDEPLOY_MSI}
14 | ADD https://download.microsoft.com/download/1/2/8/128E2E22-C1B9-44A4-BE2A-5859ED1D4592/rewrite_amd64_en-US.msi ${URLREWRITE_MSI}
15 | ADD https://aka.ms/vs/15/release/VC_redist.x64.exe ${VCREDISTX64_EXE}
16 |
17 | # Install Sitecore dependecies and SIF
18 | RUN Start-Process msiexec.exe -ArgumentList '/i', $env:WEBDEPLOY_MSI, '/quiet', '/norestart' -NoNewWindow -Wait; `
19 | Start-Process msiexec.exe -ArgumentList '/i', $env:URLREWRITE_MSI, '/quiet', '/norestart' -NoNewWindow -Wait; `
20 | Start-Process $env:VCREDISTX64_EXE -ArgumentList '/install', '/passive', '/norestart' -NoNewWindow -Wait; `
21 | Install-PackageProvider -Name NuGet -Force | Out-Null; `
22 | Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2; `
23 | Install-Module SitecoreInstallFramework -RequiredVersion 1.2.1 -Force;
24 |
25 | # Apply tweaks and remove default IIS site
26 | RUN Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord; `
27 | setx /M PATH $($env:PATH + ';C:\Sitecore\Scripts'); `
28 | Remove-Website -Name 'Default Web Site'; `
29 |
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-base/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-base:9.0.171002-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-base:9.0.171002-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": []
18 | }
19 |
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-sqldev/Boot.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath
9 | )
10 |
11 | $noDatabases = (Get-ChildItem -Path $DataPath -Filter "*.mdf") -eq $null
12 |
13 | if ($noDatabases)
14 | {
15 | Write-Host "### Sitecore databases not found in '$DataPath', seeding clean databases..."
16 |
17 | Get-ChildItem -Path $InstallPath | ForEach-Object {
18 | Copy-Item -Path $_.FullName -Destination $DataPath
19 | }
20 | }
21 | else
22 | {
23 | Write-Host "### Existing Sitecore databases found in '$DataPath'..."
24 | }
25 |
26 | Get-ChildItem -Path $DataPath -Filter "*.mdf" | ForEach-Object {
27 | $databaseName = $_.BaseName.Replace("_Primary", "")
28 | $mdfPath = $_.FullName
29 | $ldfPath = $mdfPath.Replace(".mdf", ".ldf")
30 | $sqlcmd = "IF EXISTS (SELECT 1 FROM SYS.DATABASES WHERE NAME = '$databaseName') BEGIN EXEC sp_detach_db [$databaseName] END;CREATE DATABASE [$databaseName] ON (FILENAME = N'$mdfPath'), (FILENAME = N'$ldfPath') FOR ATTACH;"
31 |
32 | Write-Host "### Attaching '$databaseName'..."
33 |
34 | Invoke-Sqlcmd -Query $sqlcmd
35 | }
36 |
37 | Write-Host "### Sitecore databases ready!"
38 |
39 | # Call Start.ps1 from the base image https://github.com/Microsoft/mssql-docker/blob/master/windows/mssql-server-windows-developer/dockerfile
40 | & C:\Start.ps1 -sa_password $env:sa_password -ACCEPT_EULA $env:ACCEPT_EULA -attach_dbs \"$env:attach_dbs\" -Verbose
41 |
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | DB_PREFIX='sc' `
9 | INSTALL_PATH='c:/install/' `
10 | DATA_PATH='c:/data/'
11 |
12 | COPY . ${INSTALL_PATH}
13 |
14 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
15 | & (Join-Path $env:INSTALL_PATH "Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
16 | & (Join-Path $env:INSTALL_PATH "Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
17 | Move-Item -Path (Join-Path $env:INSTALL_PATH "\\Boot.ps1") -Destination 'C:\\Boot.ps1' -Force; `
18 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude "*.mdf", "*.ldf" | Remove-Item -Force;
19 |
20 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH
21 |
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Expand-Archive -Path (Join-Path $Path '*(WDP*).zip') -DestinationPath $Path -Force;
9 |
10 | Get-ChildItem -Path $Path -Filter "*(OnPrem)*.zip" | ForEach-Object {
11 | $zipPath = $_.FullName
12 |
13 | try
14 | {
15 | $stream = New-Object IO.FileStream($zipPath, [IO.FileMode]::Open)
16 | $zip = New-Object IO.Compression.ZipArchive($stream, [IO.Compression.ZipArchiveMode]::Read)
17 |
18 | ($zip.Entries | Where-Object { $_.FullName -like "Sitecore.*.dacpac" -and !($_.Name -like "*azure*") }) | Foreach-Object {
19 | [IO.Compression.ZipFileExtensions]::ExtractToFile($_, (Join-Path $Path $_.Name), $true)
20 | }
21 | }
22 | finally
23 | {
24 | if ($zip -ne $null)
25 | {
26 | $zip.Dispose()
27 | }
28 |
29 | if ($stream -ne $null)
30 | {
31 | $stream.Dispose()
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-sqldev/Install-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath,
9 | [Parameter(Mandatory = $true)]
10 | [ValidateNotNullOrEmpty()]
11 | [string]$DatabasePrefix
12 | )
13 |
14 | [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
15 |
16 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
17 | $server.Properties["DefaultFile"].Value = $InstallPath
18 | $server.Properties["DefaultLog"].Value = $InstallPath
19 | $server.Alter()
20 |
21 | $sqlPackageExePath = Get-Item "C:\tools\*\lib\net46\SqlPackage.exe" | Select-Object -Last 1 -Property FullName -ExpandProperty FullName
22 |
23 | Write-Host "Using: $sqlPackageExePath"
24 |
25 | Push-Location -Path $InstallPath
26 |
27 | Get-ChildItem -Path $InstallPath -Filter "*.dacpac" | ForEach-Object {
28 | $databaseName = $_.BaseName.Replace("Sitecore.", "$DatabasePrefix`_").Replace(".Database.Sql", ".ShardMapManager")
29 | $dacpacPath = ".\{0}" -f $_.Name
30 |
31 | # Install
32 | & $sqlPackageExePath /a:Publish /sf:$dacpacPath /tdn:$databaseName /tsn:$env:COMPUTERNAME /q
33 |
34 | # Detach
35 | Invoke-Sqlcmd -Query "EXEC MASTER.dbo.sp_detach_db @dbname = N'$databaseName', @keepfulltextindexfile = N'false'"
36 | }
37 |
38 | Pop-Location
39 |
40 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
41 | $server.Properties["DefaultFile"].Value = $DataPath
42 | $server.Properties["DefaultLog"].Value = $DataPath
43 | $server.Alter()
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-sqldev:9.0.171002-windowsservercore-1803",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-sqldev:9.0.171002-windowsservercore-1709",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1709"
15 | ],
16 | "deprecated": true
17 | }
18 | ],
19 | "sources": [
20 | "Sitecore 9.0.0 rev. 171002 (WDP XP0 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-xm1-cd/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\inetpub\sc"
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-xm1-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-cd:9.0.171002-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-base:9.0.171002-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-cd:9.0.171002-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-base:9.0.171002-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": [
18 | "license.xml",
19 | "Sitecore 9.0.0 rev. 171002 (WDP XM1 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-xm1-cm/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\inetpub\sc"
--------------------------------------------------------------------------------
/images/9.0.0 rev. 171002/windowsservercore/sitecore-xm1-cm/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-cm:9.0.171002-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-base:9.0.171002-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-cm:9.0.171002-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-base:9.0.171002-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": [
18 | "license.xml",
19 | "Sitecore 9.0.0 rev. 171002 (WDP XM1 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/nanoserver/sitecore-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/nanoserver/sitecore-solr/MapDrive.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET DRIVE_LETTER=%1
3 | REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices" /v %DRIVE_LETTER% /d "\??\C:\data" /reg:64
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/nanoserver/sitecore-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-solr:9.0.171219-nanoserver-1803",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=sitecore-base:9.0.171219-windowsservercore-1803",
7 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1803"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-solr:9.0.171219-nanoserver-1709",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=sitecore-base:9.0.171219-windowsservercore-1709",
14 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1709"
15 | ],
16 | "deprecated": true
17 | }
18 | ],
19 | "sources": [
20 | "Sitecore 9.0.1 rev. 171219 (WDP XM1 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-base/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
7 |
8 | ENV INSTALL_TEMP='c:\\install'
9 | ARG WEBDEPLOY_MSI=${INSTALL_TEMP}\\webdeploy.msi
10 | ARG URLREWRITE_MSI=${INSTALL_TEMP}\\urlrewrite.msi
11 | ARG VCREDISTX64_EXE=${INSTALL_TEMP}\\VC_redist.x64.exe
12 |
13 | ADD https://download.microsoft.com/download/0/1/D/01DC28EA-638C-4A22-A57B-4CEF97755C6C/WebDeploy_amd64_en-US.msi ${WEBDEPLOY_MSI}
14 | ADD https://download.microsoft.com/download/1/2/8/128E2E22-C1B9-44A4-BE2A-5859ED1D4592/rewrite_amd64_en-US.msi ${URLREWRITE_MSI}
15 | ADD https://aka.ms/vs/15/release/VC_redist.x64.exe ${VCREDISTX64_EXE}
16 |
17 | # Install Sitecore dependecies and SIF
18 | RUN Start-Process msiexec.exe -ArgumentList '/i', $env:WEBDEPLOY_MSI, '/quiet', '/norestart' -NoNewWindow -Wait; `
19 | Start-Process msiexec.exe -ArgumentList '/i', $env:URLREWRITE_MSI, '/quiet', '/norestart' -NoNewWindow -Wait; `
20 | Start-Process $env:VCREDISTX64_EXE -ArgumentList '/install', '/passive', '/norestart' -NoNewWindow -Wait; `
21 | Install-PackageProvider -Name NuGet -Force | Out-Null; `
22 | Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2; `
23 | Install-Module SitecoreInstallFramework -RequiredVersion 1.2.1 -Force;
24 |
25 | # Apply tweaks and remove default IIS site
26 | RUN Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters' -Name ServerPriorityTimeLimit -Value 0 -Type DWord; `
27 | setx /M PATH $($env:PATH + ';C:\Sitecore\Scripts'); `
28 | Remove-Website -Name 'Default Web Site'; `
29 |
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-base/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-base:9.0.171219-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-base:9.0.171219-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": []
18 | }
19 |
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-sqldev/Boot.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath
9 | )
10 |
11 | $noDatabases = (Get-ChildItem -Path $DataPath -Filter "*.mdf") -eq $null
12 |
13 | if ($noDatabases)
14 | {
15 | Write-Host "### Sitecore databases not found in '$DataPath', seeding clean databases..."
16 |
17 | Get-ChildItem -Path $InstallPath | ForEach-Object {
18 | Copy-Item -Path $_.FullName -Destination $DataPath
19 | }
20 | }
21 | else
22 | {
23 | Write-Host "### Existing Sitecore databases found in '$DataPath'..."
24 | }
25 |
26 | Get-ChildItem -Path $DataPath -Filter "*.mdf" | ForEach-Object {
27 | $databaseName = $_.BaseName.Replace("_Primary", "")
28 | $mdfPath = $_.FullName
29 | $ldfPath = $mdfPath.Replace(".mdf", ".ldf")
30 | $sqlcmd = "IF EXISTS (SELECT 1 FROM SYS.DATABASES WHERE NAME = '$databaseName') BEGIN EXEC sp_detach_db [$databaseName] END;CREATE DATABASE [$databaseName] ON (FILENAME = N'$mdfPath'), (FILENAME = N'$ldfPath') FOR ATTACH;"
31 |
32 | Write-Host "### Attaching '$databaseName'..."
33 |
34 | Invoke-Sqlcmd -Query $sqlcmd
35 | }
36 |
37 | Write-Host "### Sitecore databases ready!"
38 |
39 | # Call Start.ps1 from the base image https://github.com/Microsoft/mssql-docker/blob/master/windows/mssql-server-windows-developer/dockerfile
40 | & C:\Start.ps1 -sa_password $env:sa_password -ACCEPT_EULA $env:ACCEPT_EULA -attach_dbs \"$env:attach_dbs\" -Verbose
41 |
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | DB_PREFIX='sc' `
9 | INSTALL_PATH='c:/install/' `
10 | DATA_PATH='c:/data/'
11 |
12 | COPY . ${INSTALL_PATH}
13 |
14 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
15 | & (Join-Path $env:INSTALL_PATH "Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
16 | & (Join-Path $env:INSTALL_PATH "Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
17 | Move-Item -Path (Join-Path $env:INSTALL_PATH "\\Boot.ps1") -Destination 'C:\\Boot.ps1' -Force; `
18 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude "*.mdf", "*.ldf" | Remove-Item -Force;
19 |
20 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH
21 |
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Expand-Archive -Path (Join-Path $Path '*(WDP*).zip') -DestinationPath $Path -Force;
9 |
10 | Get-ChildItem -Path $Path -Filter "*(OnPrem)*.zip" | ForEach-Object {
11 | $zipPath = $_.FullName
12 |
13 | try
14 | {
15 | $stream = New-Object IO.FileStream($zipPath, [IO.FileMode]::Open)
16 | $zip = New-Object IO.Compression.ZipArchive($stream, [IO.Compression.ZipArchiveMode]::Read)
17 |
18 | ($zip.Entries | Where-Object { $_.FullName -like "Sitecore.*.dacpac" -and !($_.Name -like "*azure*") }) | Foreach-Object {
19 | [IO.Compression.ZipFileExtensions]::ExtractToFile($_, (Join-Path $Path $_.Name), $true)
20 | }
21 | }
22 | finally
23 | {
24 | if ($zip -ne $null)
25 | {
26 | $zip.Dispose()
27 | }
28 |
29 | if ($stream -ne $null)
30 | {
31 | $stream.Dispose()
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-sqldev/Install-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath,
9 | [Parameter(Mandatory = $true)]
10 | [ValidateNotNullOrEmpty()]
11 | [string]$DatabasePrefix
12 | )
13 |
14 | [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
15 |
16 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
17 | $server.Properties["DefaultFile"].Value = $InstallPath
18 | $server.Properties["DefaultLog"].Value = $InstallPath
19 | $server.Alter()
20 |
21 | $sqlPackageExePath = Get-Item "C:\tools\*\lib\net46\SqlPackage.exe" | Select-Object -Last 1 -Property FullName -ExpandProperty FullName
22 |
23 | Write-Host "Using: $sqlPackageExePath"
24 |
25 | Push-Location -Path $InstallPath
26 |
27 | Get-ChildItem -Path $InstallPath -Filter "*.dacpac" | ForEach-Object {
28 | $databaseName = $_.BaseName.Replace("Sitecore.", "$DatabasePrefix`_").Replace(".Database.Sql", ".ShardMapManager")
29 | $dacpacPath = ".\{0}" -f $_.Name
30 |
31 | # Install
32 | & $sqlPackageExePath /a:Publish /sf:$dacpacPath /tdn:$databaseName /tsn:$env:COMPUTERNAME /q
33 |
34 | # Detach
35 | Invoke-Sqlcmd -Query "EXEC MASTER.dbo.sp_detach_db @dbname = N'$databaseName', @keepfulltextindexfile = N'false'"
36 | }
37 |
38 | Pop-Location
39 |
40 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
41 | $server.Properties["DefaultFile"].Value = $DataPath
42 | $server.Properties["DefaultLog"].Value = $DataPath
43 | $server.Alter()
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-sqldev:9.0.171219-windowsservercore-1803",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-sqldev:9.0.171219-windowsservercore-1709",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1709"
15 | ],
16 | "deprecated": true
17 | }
18 | ],
19 | "sources": [
20 | "Sitecore 9.0.1 rev. 171219 (WDP XP0 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-xm1-cd/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\inetpub\sc"
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-xm1-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-cd:9.0.171219-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-base:9.0.171219-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-cd:9.0.171219-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-base:9.0.171219-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": [
18 | "license.xml",
19 | "Sitecore 9.0.1 rev. 171219 (WDP XM1 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-xm1-cm/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\inetpub\sc"
--------------------------------------------------------------------------------
/images/9.0.1 rev. 171219/windowsservercore/sitecore-xm1-cm/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-cm:9.0.171219-windowsservercore-1803",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-base:9.0.171219-windowsservercore-1803"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-cm:9.0.171219-windowsservercore-1709",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-base:9.0.171219-windowsservercore-1709"
13 | ],
14 | "deprecated": true
15 | }
16 | ],
17 | "sources": [
18 | "license.xml",
19 | "Sitecore 9.0.1 rev. 171219 (WDP XM1 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/nanoserver-1709-1803/sitecore-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/nanoserver-1709-1803/sitecore-solr/MapDrive.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET DRIVE_LETTER=%1
3 | REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices" /v %DRIVE_LETTER% /d "\??\C:\data" /reg:64
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/nanoserver-1709-1803/sitecore-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-solr:9.0.180604-nanoserver-1803",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=sitecore-base:9.0.180604-windowsservercore-1803",
7 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1803"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-solr:9.0.180604-nanoserver-1709",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=sitecore-base:9.0.180604-windowsservercore-1709",
14 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1709"
15 | ],
16 | "deprecated": true
17 | }
18 | ],
19 | "sources": [
20 | "Sitecore 9.0.2 rev. 180604 (WDP XM1 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/nanoserver-1709-1803/sitecore-xp-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/nanoserver-1709-1803/sitecore-xp-solr/MapDrive.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET DRIVE_LETTER=%1
3 | REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices" /v %DRIVE_LETTER% /d "\??\C:\data" /reg:64
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/nanoserver-1709-1803/sitecore-xp-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore-xp-solr:9.0.180604-nanoserver-1803",
4 | "build-options": [
5 | "--build-arg BUILD_IMAGE=sitecore-base:9.0.180604-windowsservercore-1803",
6 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1803"
7 | ]
8 | },
9 | "sources": [
10 | "Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip"
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/nanoserver/sitecore-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/nanoserver/sitecore-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore-solr:9.0.180604-nanoserver-1809",
4 | "build-options": [
5 | "--build-arg BUILD_IMAGE=sitecore-base:9.0.180604-windowsservercore-ltsc2019",
6 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1809"
7 | ]
8 | },
9 | "sources": [
10 | "Sitecore 9.0.2 rev. 180604 (WDP XM1 packages).zip"
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/nanoserver/sitecore-xp-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/nanoserver/sitecore-xp-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore-xp-solr:9.0.180604-nanoserver-1809",
4 | "build-options": [
5 | "--build-arg BUILD_IMAGE=sitecore-base:9.0.180604-windowsservercore-ltsc2019",
6 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1809"
7 | ]
8 | },
9 | "sources": [
10 | "Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip"
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-base/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-base:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-base:9.0.180604-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803"
15 | ]
16 | },
17 | {
18 | "tag": "sitecore-base:9.0.180604-windowsservercore-1709",
19 | "build-options": [
20 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1709",
21 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1709"
22 | ],
23 | "deprecated": true
24 | }
25 | ],
26 | "sources": []
27 | }
28 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-sqldev/Boot.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath
9 | )
10 |
11 | $noDatabases = (Get-ChildItem -Path $DataPath -Filter "*.mdf") -eq $null
12 |
13 | if ($noDatabases)
14 | {
15 | Write-Host "### Sitecore databases not found in '$DataPath', seeding clean databases..."
16 |
17 | Get-ChildItem -Path $InstallPath | ForEach-Object {
18 | Copy-Item -Path $_.FullName -Destination $DataPath
19 | }
20 | }
21 | else
22 | {
23 | Write-Host "### Existing Sitecore databases found in '$DataPath'..."
24 | }
25 |
26 | Get-ChildItem -Path $DataPath -Filter "*.mdf" | ForEach-Object {
27 | $databaseName = $_.BaseName.Replace("_Primary", "")
28 | $mdfPath = $_.FullName
29 | $ldfPath = $mdfPath.Replace(".mdf", ".ldf")
30 | $sqlcmd = "IF EXISTS (SELECT 1 FROM SYS.DATABASES WHERE NAME = '$databaseName') BEGIN EXEC sp_detach_db [$databaseName] END;CREATE DATABASE [$databaseName] ON (FILENAME = N'$mdfPath'), (FILENAME = N'$ldfPath') FOR ATTACH;"
31 |
32 | Write-Host "### Attaching '$databaseName'..."
33 |
34 | Invoke-Sqlcmd -Query $sqlcmd
35 | }
36 |
37 | Write-Host "### Sitecore databases ready!"
38 |
39 | # Call Start.ps1 from the base image https://github.com/Microsoft/mssql-docker/blob/master/windows/mssql-server-windows-developer/dockerfile
40 | & C:\Start.ps1 -sa_password $env:sa_password -ACCEPT_EULA $env:ACCEPT_EULA -attach_dbs \"$env:attach_dbs\" -Verbose
41 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | DB_PREFIX='sc' `
9 | INSTALL_PATH='c:/install/' `
10 | DATA_PATH='c:/data/'
11 |
12 | COPY . ${INSTALL_PATH}
13 |
14 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
15 | & (Join-Path $env:INSTALL_PATH "Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
16 | & (Join-Path $env:INSTALL_PATH "Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
17 | Move-Item -Path (Join-Path $env:INSTALL_PATH "\\Boot.ps1") -Destination 'C:\\Boot.ps1' -Force; `
18 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude "*.mdf", "*.ldf" | Remove-Item -Force;
19 |
20 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH
21 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Expand-Archive -Path (Join-Path $Path '*(WDP*).zip') -DestinationPath $Path -Force;
9 |
10 | Get-ChildItem -Path $Path -Filter "*(OnPrem)*.zip" | ForEach-Object {
11 | $zipPath = $_.FullName
12 |
13 | try
14 | {
15 | $stream = New-Object IO.FileStream($zipPath, [IO.FileMode]::Open)
16 | $zip = New-Object IO.Compression.ZipArchive($stream, [IO.Compression.ZipArchiveMode]::Read)
17 |
18 | ($zip.Entries | Where-Object { $_.FullName -like "Sitecore.*.dacpac" -and !($_.Name -like "*azure*") }) | Foreach-Object {
19 | [IO.Compression.ZipFileExtensions]::ExtractToFile($_, (Join-Path $Path $_.Name), $true)
20 | }
21 | }
22 | finally
23 | {
24 | if ($zip -ne $null)
25 | {
26 | $zip.Dispose()
27 | }
28 |
29 | if ($stream -ne $null)
30 | {
31 | $stream.Dispose()
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-sqldev/Install-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath,
9 | [Parameter(Mandatory = $true)]
10 | [ValidateNotNullOrEmpty()]
11 | [string]$DatabasePrefix
12 | )
13 |
14 | [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
15 |
16 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
17 | $server.Properties["DefaultFile"].Value = $InstallPath
18 | $server.Properties["DefaultLog"].Value = $InstallPath
19 | $server.Alter()
20 |
21 | $sqlPackageExePath = Get-Item "C:\tools\*\lib\net46\SqlPackage.exe" | Select-Object -Last 1 -Property FullName -ExpandProperty FullName
22 |
23 | Write-Host "Using: $sqlPackageExePath"
24 |
25 | Push-Location -Path $InstallPath
26 |
27 | Get-ChildItem -Path $InstallPath -Filter "*.dacpac" | ForEach-Object {
28 | $databaseName = $_.BaseName.Replace("Sitecore.", "$DatabasePrefix`_").Replace(".Database.Sql", ".ShardMapManager")
29 | $dacpacPath = ".\{0}" -f $_.Name
30 |
31 | # Install
32 | & $sqlPackageExePath /a:Publish /sf:$dacpacPath /tdn:$databaseName /tsn:$env:COMPUTERNAME /q
33 |
34 | # Detach
35 | Invoke-Sqlcmd -Query "EXEC MASTER.dbo.sp_detach_db @dbname = N'$databaseName', @keepfulltextindexfile = N'false'"
36 | }
37 |
38 | Pop-Location
39 |
40 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
41 | $server.Properties["DefaultFile"].Value = $DataPath
42 | $server.Properties["DefaultLog"].Value = $DataPath
43 | $server.Alter()
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-sqldev:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-sqldev:9.0.180604-windowsservercore-1803",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
15 | ]
16 | },
17 | {
18 | "tag": "sitecore-sqldev:9.0.180604-windowsservercore-1709",
19 | "build-options": [
20 | "--memory 4GB",
21 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1709"
22 | ],
23 | "deprecated": true
24 | }
25 | ],
26 | "sources": [
27 | "Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip"
28 | ]
29 | }
30 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xm1-cd/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\inetpub\sc"
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xm1-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-cd:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-base:9.0.180604-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-cd:9.0.180604-windowsservercore-1803",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-base:9.0.180604-windowsservercore-1803"
13 | ]
14 | },
15 | {
16 | "tag": "sitecore-xm1-cd:9.0.180604-windowsservercore-1709",
17 | "build-options": [
18 | "--build-arg BASE_IMAGE=sitecore-base:9.0.180604-windowsservercore-1709"
19 | ],
20 | "deprecated": true
21 | }
22 | ],
23 | "sources": [
24 | "license.xml",
25 | "Sitecore 9.0.2 rev. 180604 (WDP XM1 packages).zip"
26 | ]
27 | }
28 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xm1-cm/Sitecore/Scripts/Watch.ps1:
--------------------------------------------------------------------------------
1 | Watch-Directory -Path "C:\inetpub\wwwroot" -Destination "C:\inetpub\sc"
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xm1-cm/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-cm:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-base:9.0.180604-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-cm:9.0.180604-windowsservercore-1803",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-base:9.0.180604-windowsservercore-1803"
13 | ]
14 | },
15 | {
16 | "tag": "sitecore-xm1-cm:9.0.180604-windowsservercore-1709",
17 | "build-options": [
18 | "--build-arg BASE_IMAGE=sitecore-base:9.0.180604-windowsservercore-1709"
19 | ],
20 | "deprecated": true
21 | }
22 | ],
23 | "sources": [
24 | "license.xml",
25 | "Sitecore 9.0.2 rev. 180604 (WDP XM1 packages).zip"
26 | ]
27 | }
28 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-base/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-base:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-base:9.0.180604-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-base:9.0.180604-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=sitecore-base:9.0.180604-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-cd:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.0.180604-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-cd:9.0.180604-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.0.180604-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "license.xml",
20 | "Sitecore 9.0.2 rev. 180604 (WDP XP1 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | DB_PREFIX='sc' `
9 | INSTALL_PATH='c:/install/' `
10 | DATA_PATH='c:/data/' `
11 | SQL_HOSTNAME='sql'
12 |
13 | COPY . ${INSTALL_PATH}
14 |
15 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
16 | & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
17 | & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
18 | & (Join-Path $env:INSTALL_PATH "\\Install-Shards.ps1") -InstallPath $env:INSTALL_PATH -DatabasePrefix $env:DB_PREFIX; `
19 | Move-Item -Path (Join-Path $env:INSTALL_PATH "\\Boot.ps1") -Destination 'C:\\Boot.ps1' -Force; `
20 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Force;
21 |
22 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -SqlHostname $env:SQL_HOSTNAME -DatabasePrefix $env:DB_PREFIX;
23 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Add-Type -Assembly "System.IO.Compression.FileSystem";
9 |
10 | Expand-Archive -Path (Join-Path $Path '*(WDP*).zip') -DestinationPath $Path -Force;
11 |
12 | Get-ChildItem -Path $Path -Filter "*(OnPrem)*single*.zip" | ForEach-Object {
13 | $zipPath = $_.FullName
14 |
15 | try
16 | {
17 | $zip = [IO.Compression.ZipFile]::OpenRead($zipPath)
18 |
19 | ($zip.Entries | Where-Object { $_.FullName -like "Sitecore.*.dacpac" -and $_.Name -notlike "*Xdb.Collection*.dacpac" }) | Foreach-Object {
20 | [IO.Compression.ZipFileExtensions]::ExtractToFile($_, (Join-Path $Path $_.Name), $true)
21 | }
22 | }
23 | finally
24 | {
25 | if ($zip -ne $null)
26 | {
27 | $zip.Dispose()
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-sqldev/Install-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath,
9 | [Parameter(Mandatory = $true)]
10 | [ValidateNotNullOrEmpty()]
11 | [string]$DatabasePrefix
12 | )
13 |
14 | [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
15 |
16 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
17 | $server.Properties["DefaultFile"].Value = $InstallPath
18 | $server.Properties["DefaultLog"].Value = $InstallPath
19 | $server.Alter()
20 |
21 | $sqlPackageExePath = Get-Item "C:\tools\*\lib\net46\SqlPackage.exe" | Select-Object -Last 1 -Property FullName -ExpandProperty FullName
22 |
23 | Get-ChildItem -Path $InstallPath -Filter "*.dacpac" | ForEach-Object {
24 | $databaseName = $_.BaseName.Replace("Sitecore.", "$DatabasePrefix`_")
25 | $dacpacPath = Join-Path $InstallPath ("\{0}" -f $_.Name)
26 |
27 | # Install
28 | & $sqlPackageExePath /a:Publish /sf:$dacpacPath /tdn:$databaseName /tsn:$env:COMPUTERNAME /q
29 |
30 | # Detach
31 | Invoke-Sqlcmd -Query "EXEC MASTER.dbo.sp_detach_db @dbname = N'$databaseName', @keepfulltextindexfile = N'false'"
32 | }
33 |
34 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
35 | $server.Properties["DefaultFile"].Value = $DataPath
36 | $server.Properties["DefaultLog"].Value = $DataPath
37 | $server.Alter()
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-sqldev:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-sqldev:9.0.180604-windowsservercore-1803",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-standalone/Sitecore/Config/SitecoreServices.EnabledRemoteAccess.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-standalone/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-standalone:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.0.180604-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-standalone:9.0.180604-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.0.180604-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "license.xml",
20 | "Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-xconnect-automationengine/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | FROM $BASE_IMAGE
8 |
9 | COPY --from=builder ["/inetpub/xconnect/App_Data/jobs/continuous/AutomationEngine", "/AutomationEngine"]
10 |
11 | RUN Remove-Item -Path 'C:\\AutomationEngine\\App_Data\\logs' -Force -Recurse; `
12 | Stop-Service -Name 'W3SVC' -Force; `
13 | Remove-Item -Path 'C:\\ServiceMonitor.exe' -Force;
14 |
15 | ENTRYPOINT [ "C:\\AutomationEngine\\maengine.exe" ]
16 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-xconnect-automationengine/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-xconnect-automationengine:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.0.180604-windowsservercore-ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.0.180604-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-xconnect-automationengine:9.0.180604-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.0.180604-windowsservercore-1803",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.0.180604-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": []
19 | }
20 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-xconnect-indexworker/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | FROM $BASE_IMAGE
8 |
9 | COPY --from=builder ["/inetpub/xconnect/App_Data/jobs/continuous/IndexWorker", "/IndexWorker"]
10 |
11 | RUN Remove-Item -Path 'C:\\IndexWorker\\App_Data\\logs' -Force -Recurse; `
12 | Stop-Service -Name 'W3SVC' -Force; `
13 | Remove-Item -Path 'C:\\ServiceMonitor.exe' -Force;
14 |
15 | ENTRYPOINT [ "C:\\IndexWorker\\XConnectSearchIndexer.exe" ]
16 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-xconnect-indexworker/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-xconnect-indexworker:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.0.180604-windowsservercore-ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.0.180604-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-xconnect-indexworker:9.0.180604-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.0.180604-windowsservercore-1803",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.0.180604-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": []
19 | }
20 |
--------------------------------------------------------------------------------
/images/9.0.2 rev. 180604/windowsservercore/sitecore-xp-xconnect/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-xconnect:9.0.180604-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.0.180604-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-xconnect:9.0.180604-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.0.180604-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "license.xml",
20 | "Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/nanoserver-1803/sitecore-xm1-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/nanoserver-1803/sitecore-xm1-solr/MapDrive.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET DRIVE_LETTER=%1
3 | REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices" /v %DRIVE_LETTER% /d "\??\C:\data" /reg:64
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/nanoserver-1803/sitecore-xm1-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore-xm1-solr:9.1.0-nanoserver-1803",
4 | "build-options": [
5 | "--build-arg BUILD_IMAGE=sitecore-base:9.1.0-windowsservercore-1803",
6 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1803"
7 | ]
8 | },
9 | "sources": [
10 | "Sitecore 9.1.0 rev. 001564 (WDP XM1 packages).zip"
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/nanoserver-1803/sitecore-xp-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/nanoserver-1803/sitecore-xp-solr/MapDrive.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET DRIVE_LETTER=%1
3 | REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices" /v %DRIVE_LETTER% /d "\??\C:\data" /reg:64
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/nanoserver-1803/sitecore-xp-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore-xp-solr:9.1.0-nanoserver-1803",
4 | "build-options": [
5 | "--build-arg BUILD_IMAGE=sitecore-base:9.1.0-windowsservercore-1803",
6 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1803"
7 | ]
8 | },
9 | "sources": [
10 | "Sitecore 9.1.0 rev. 001564 (WDP XP0 packages).zip"
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/nanoserver/sitecore-xm1-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/nanoserver/sitecore-xm1-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore-xm1-solr:9.1.0-nanoserver-1809",
4 | "build-options": [
5 | "--build-arg BUILD_IMAGE=sitecore-base:9.1.0-windowsservercore-ltsc2019",
6 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1809"
7 | ]
8 | },
9 | "sources": [
10 | "Sitecore 9.1.0 rev. 001564 (WDP XM1 packages).zip"
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/nanoserver/sitecore-xp-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/nanoserver/sitecore-xp-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": {
3 | "tag": "sitecore-xp-solr:9.1.0-nanoserver-1809",
4 | "build-options": [
5 | "--build-arg BUILD_IMAGE=sitecore-base:9.1.0-windowsservercore-ltsc2019",
6 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1809"
7 | ]
8 | },
9 | "sources": [
10 | "Sitecore 9.1.0 rev. 001564 (WDP XP0 packages).zip"
11 | ]
12 | }
13 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-base/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-base:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-base:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": []
19 | }
20 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xm1-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-cd:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-base:9.1.0-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xm1-cd:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=sitecore-base:9.1.0-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "license.xml",
20 | "Sitecore 9.1.0 rev. 001564 (WDP XM1 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xm1-cm/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-cm:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-base:9.1.0-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xm1-cm:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=sitecore-base:9.1.0-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "license.xml",
20 | "Sitecore 9.1.0 rev. 001564 (WDP XM1 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xm1-sqldev/Boot.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath
9 | )
10 |
11 | $noDatabases = (Get-ChildItem -Path $DataPath -Filter "*.mdf") -eq $null
12 |
13 | if ($noDatabases)
14 | {
15 | Write-Host "### Sitecore databases not found in '$DataPath', seeding clean databases..."
16 |
17 | Get-ChildItem -Path $InstallPath | ForEach-Object {
18 | Copy-Item -Path $_.FullName -Destination $DataPath
19 | }
20 | }
21 | else
22 | {
23 | Write-Host "### Existing Sitecore databases found in '$DataPath'..."
24 | }
25 |
26 | Get-ChildItem -Path $DataPath -Filter "*.mdf" | ForEach-Object {
27 | $databaseName = $_.BaseName.Replace("_Primary", "")
28 | $mdfPath = $_.FullName
29 | $ldfPath = $mdfPath.Replace(".mdf", ".ldf")
30 | $sqlcmd = "IF EXISTS (SELECT 1 FROM SYS.DATABASES WHERE NAME = '$databaseName') BEGIN EXEC sp_detach_db [$databaseName] END;CREATE DATABASE [$databaseName] ON (FILENAME = N'$mdfPath'), (FILENAME = N'$ldfPath') FOR ATTACH;"
31 |
32 | Write-Host "### Attaching '$databaseName'..."
33 |
34 | Invoke-Sqlcmd -Query $sqlcmd
35 | }
36 |
37 | Write-Host "### Sitecore databases ready!"
38 |
39 | # Call Start.ps1 from the base image https://github.com/Microsoft/mssql-docker/blob/master/windows/mssql-server-windows-developer/dockerfile
40 | & C:\Start.ps1 -sa_password $env:sa_password -ACCEPT_EULA $env:ACCEPT_EULA -attach_dbs \"$env:attach_dbs\" -Verbose
41 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xm1-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | DB_PREFIX='sc' `
9 | INSTALL_PATH='c:/install/' `
10 | DATA_PATH='c:/data/'
11 |
12 | COPY . ${INSTALL_PATH}
13 |
14 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
15 | & (Join-Path $env:INSTALL_PATH "Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
16 | & (Join-Path $env:INSTALL_PATH "Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
17 | Move-Item -Path (Join-Path $env:INSTALL_PATH "\\Boot.ps1") -Destination 'C:\\Boot.ps1' -Force; `
18 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude "*.mdf", "*.ldf" | Remove-Item -Force;
19 |
20 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH
21 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xm1-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Expand-Archive -Path (Join-Path $Path '*(WDP*).zip') -DestinationPath $Path -Force;
9 |
10 | Get-ChildItem -Path $Path -Filter "*(OnPrem)*.zip" | ForEach-Object {
11 | $zipPath = $_.FullName
12 |
13 | try
14 | {
15 | $stream = New-Object IO.FileStream($zipPath, [IO.FileMode]::Open)
16 | $zip = New-Object IO.Compression.ZipArchive($stream, [IO.Compression.ZipArchiveMode]::Read)
17 |
18 | ($zip.Entries | Where-Object { $_.FullName -like "Sitecore.*.dacpac" -and !($_.Name -like "*azure*") }) | Foreach-Object {
19 | [IO.Compression.ZipFileExtensions]::ExtractToFile($_, (Join-Path $Path $_.Name), $true)
20 | }
21 | }
22 | finally
23 | {
24 | if ($zip -ne $null)
25 | {
26 | $zip.Dispose()
27 | }
28 |
29 | if ($stream -ne $null)
30 | {
31 | $stream.Dispose()
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xm1-sqldev/Install-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath,
9 | [Parameter(Mandatory = $true)]
10 | [ValidateNotNullOrEmpty()]
11 | [string]$DatabasePrefix
12 | )
13 |
14 | [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
15 |
16 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
17 | $server.Properties["DefaultFile"].Value = $InstallPath
18 | $server.Properties["DefaultLog"].Value = $InstallPath
19 | $server.Alter()
20 |
21 | $sqlPackageExePath = Get-Item "C:\tools\*\lib\net46\SqlPackage.exe" | Select-Object -Last 1 -Property FullName -ExpandProperty FullName
22 |
23 | Write-Host "Using: $sqlPackageExePath"
24 |
25 | Push-Location -Path $InstallPath
26 |
27 | Get-ChildItem -Path $InstallPath -Filter "*.dacpac" | ForEach-Object {
28 | $databaseName = $_.BaseName.Replace("Sitecore.", "$DatabasePrefix`_").Replace(".Database.Sql", ".ShardMapManager")
29 | $dacpacPath = ".\{0}" -f $_.Name
30 |
31 | # Install
32 | & $sqlPackageExePath /a:Publish /sf:$dacpacPath /tdn:$databaseName /tsn:$env:COMPUTERNAME /q
33 |
34 | # Detach
35 | Invoke-Sqlcmd -Query "EXEC MASTER.dbo.sp_detach_db @dbname = N'$databaseName', @keepfulltextindexfile = N'false'"
36 | }
37 |
38 | Pop-Location
39 |
40 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
41 | $server.Properties["DefaultFile"].Value = $DataPath
42 | $server.Properties["DefaultLog"].Value = $DataPath
43 | $server.Alter()
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xm1-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-sqldev:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xm1-sqldev:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore 9.1.0 rev. 001564 (WDP XM1 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-base/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-base:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-base:9.1.0-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-base:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=sitecore-base:9.1.0-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore 9.1.0 rev. 001564 (WDP XP0 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-cd:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.0-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-cd:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.0-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "license.xml",
20 | "Sitecore 9.1.0 rev. 001564 (WDP XP1 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | DB_PREFIX='sc' `
9 | INSTALL_PATH='c:/install/' `
10 | DATA_PATH='c:/data/' `
11 | SQL_HOSTNAME='sql'
12 |
13 | COPY . ${INSTALL_PATH}
14 |
15 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
16 | & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
17 | & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
18 | & (Join-Path $env:INSTALL_PATH "\\Install-Shards.ps1") -InstallPath $env:INSTALL_PATH -DatabasePrefix $env:DB_PREFIX; `
19 | Move-Item -Path (Join-Path $env:INSTALL_PATH "\\Boot.ps1") -Destination 'C:\\Boot.ps1' -Force; `
20 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Force;
21 |
22 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -SqlHostname $env:SQL_HOSTNAME -DatabasePrefix $env:DB_PREFIX;
23 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Add-Type -Assembly "System.IO.Compression.FileSystem";
9 |
10 | Expand-Archive -Path (Join-Path $Path '*(WDP*).zip') -DestinationPath $Path -Force;
11 |
12 | Get-ChildItem -Path $Path -Filter "*(OnPrem)*single*.zip" | ForEach-Object {
13 | $zipPath = $_.FullName
14 |
15 | try
16 | {
17 | $zip = [IO.Compression.ZipFile]::OpenRead($zipPath)
18 |
19 | ($zip.Entries | Where-Object { $_.FullName -like "Sitecore.*.dacpac" -and $_.Name -notlike "*Xdb.Collection*.dacpac" }) | Foreach-Object {
20 | [IO.Compression.ZipFileExtensions]::ExtractToFile($_, (Join-Path $Path $_.Name), $true)
21 | }
22 | }
23 | finally
24 | {
25 | if ($zip -ne $null)
26 | {
27 | $zip.Dispose()
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-sqldev/Install-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath,
9 | [Parameter(Mandatory = $true)]
10 | [ValidateNotNullOrEmpty()]
11 | [string]$DatabasePrefix
12 | )
13 |
14 | [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
15 |
16 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
17 | $server.Properties["DefaultFile"].Value = $InstallPath
18 | $server.Properties["DefaultLog"].Value = $InstallPath
19 | $server.Alter()
20 |
21 | $sqlPackageExePath = Get-Item "C:\tools\*\lib\net46\SqlPackage.exe" | Select-Object -Last 1 -Property FullName -ExpandProperty FullName
22 |
23 | Get-ChildItem -Path $InstallPath -Filter "*.dacpac" | ForEach-Object {
24 | $databaseName = $_.BaseName.Replace("Sitecore.", "$DatabasePrefix`_")
25 | $dacpacPath = Join-Path $InstallPath ("\{0}" -f $_.Name)
26 |
27 | # Install
28 | & $sqlPackageExePath /a:Publish /sf:$dacpacPath /tdn:$databaseName /tsn:$env:COMPUTERNAME /q
29 |
30 | # Detach
31 | Invoke-Sqlcmd -Query "EXEC MASTER.dbo.sp_detach_db @dbname = N'$databaseName', @keepfulltextindexfile = N'false'"
32 | }
33 |
34 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
35 | $server.Properties["DefaultFile"].Value = $DataPath
36 | $server.Properties["DefaultLog"].Value = $DataPath
37 | $server.Alter()
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-sqldev:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-sqldev:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore 9.1.0 rev. 001564 (WDP XP0 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-standalone/Sitecore/Config/SitecoreServices.EnabledRemoteAccess.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-standalone/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-standalone:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.0-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-standalone:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.0-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "license.xml",
20 | "Sitecore 9.1.0 rev. 001564 (WDP XP0 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-xconnect-automationengine/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | FROM $BASE_IMAGE
8 |
9 | COPY --from=builder ["/inetpub/xconnect/App_Data/jobs/continuous/AutomationEngine", "/AutomationEngine"]
10 |
11 | RUN Remove-Item -Path 'C:\\AutomationEngine\\App_Data\\logs' -Force -Recurse; `
12 | Stop-Service -Name 'W3SVC' -Force; `
13 | Remove-Item -Path 'C:\\ServiceMonitor.exe' -Force;
14 |
15 | ENTRYPOINT [ "C:\\AutomationEngine\\maengine.exe" ]
16 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-xconnect-automationengine/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-xconnect-automationengine:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.1.0-windowsservercore-ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.0-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-xconnect-automationengine:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.1.0-windowsservercore-1803",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.0-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": []
19 | }
20 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-xconnect-indexworker/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | FROM $BASE_IMAGE
8 |
9 | COPY --from=builder ["/inetpub/xconnect/App_Data/jobs/continuous/IndexWorker", "/IndexWorker"]
10 |
11 | RUN Remove-Item -Path 'C:\\IndexWorker\\App_Data\\logs' -Force -Recurse; `
12 | Stop-Service -Name 'W3SVC' -Force; `
13 | Remove-Item -Path 'C:\\ServiceMonitor.exe' -Force;
14 |
15 | ENTRYPOINT [ "C:\\IndexWorker\\XConnectSearchIndexer.exe" ]
16 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-xconnect-indexworker/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-xconnect-indexworker:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.1.0-windowsservercore-ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.0-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-xconnect-indexworker:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.1.0-windowsservercore-1803",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.0-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": []
19 | }
20 |
--------------------------------------------------------------------------------
/images/9.1.0 rev. 001564/windowsservercore/sitecore-xp-xconnect/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-xconnect:9.1.0-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.0-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-xconnect:9.1.0-windowsservercore-1803",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.0-windowsservercore-1803"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "license.xml",
20 | "Sitecore 9.1.0 rev. 001564 (WDP XP0 packages).zip"
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/nanoserver/sitecore-xm1-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/nanoserver/sitecore-xm1-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-solr:9.1.1-nanoserver-1903",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=sitecore-base:9.1.1-windowsservercore-1903",
7 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1903"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xm1-solr:9.1.1-nanoserver-1809",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=sitecore-base:9.1.1-windowsservercore-ltsc2019",
14 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1809"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore 9.1.1 rev. 002459 (WDP XM1 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/nanoserver/sitecore-xp-solr/Boot.cmd:
--------------------------------------------------------------------------------
1 | @ECHO OFF
2 | SET SOLR_PATH=%1
3 | SET SOLR_PORT=%2
4 | SET INSTALL_PATH=%3
5 | SET DATA_PATH=%4
6 | SET HAS_DATA="false"
7 |
8 | ECHO SOLR_PATH=%SOLR_PATH%
9 | ECHO SOLR_PORT=%SOLR_PORT%
10 | ECHO INSTALL_PATH=%INSTALL_PATH%
11 | ECHO DATA_PATH=%DATA_PATH%
12 |
13 | IF EXIST "%DATA_PATH%\sc_*" (
14 | IF EXIST "%DATA_PATH%\solr.xml" (
15 | ECHO "### Existing Sitecore solr cores found in '%DATA_PATH%'..."
16 |
17 | SET HAS_DATA="true"
18 | )
19 | )
20 |
21 | IF %HAS_DATA%=="false" (
22 | ECHO "### No Sitecore Solr cores found in '%DATA_PATH%', seeding clean cores from '%INSTALL_PATH%'..."
23 |
24 | XCOPY %INSTALL_PATH% %DATA_PATH% /E
25 | )
26 |
27 | ECHO "### Preparing Solr cores..."
28 |
29 | PUSHD %DATA_PATH%
30 | DEL /S "write.lock"
31 | POPD
32 |
33 | ECHO "### Starting Solr..."
34 |
35 | %SOLR_PATH%\bin\solr.cmd start -port %SOLR_PORT% -f
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/nanoserver/sitecore-xp-solr/apply-solr-commands.json:
--------------------------------------------------------------------------------
1 | {
2 | "Parameters": {
3 | "CorePrefix": {
4 | "Type": "string"
5 | },
6 | "SolrUrl": {
7 | "Type": "string"
8 | },
9 | "ArgumentsFile": {
10 | "Type": "string"
11 | }
12 | },
13 | "Variables": {
14 | "Xdb.Name": "[concat(parameter('CorePrefix'), '_xdb')]",
15 | "Xdb.Rebuild.Name": "[concat(variable('Xdb.Name'), '_rebuild')]",
16 | "Solr.Url.Xdb": "[concat(parameter('SolrUrl'), '/', variable('Xdb.Name'))]",
17 | "Solr.Config.Path": "[parameter('ArgumentsFile')]"
18 | },
19 | "Tasks": {
20 | "ConfigureSolrSchemas": {
21 | "Type": "ManageSolrSchema",
22 | "Params": [
23 | {
24 | "Address": "[parameter('SolrUrl')]",
25 | "Core": "[variable('Xdb.Name')]",
26 | "ArgumentsFile": "[variable('Solr.Config.Path')]"
27 | },
28 | {
29 | "Address": "[parameter('SolrUrl')]",
30 | "Core": "[variable('Xdb.Rebuild.Name')]",
31 | "ArgumentsFile": "[variable('Solr.Config.Path')]"
32 | }
33 | ]
34 | }
35 | }
36 | }
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/nanoserver/sitecore-xp-solr/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-solr:9.1.1-nanoserver-1903",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=sitecore-base:9.1.1-windowsservercore-1903",
7 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1903"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-solr:9.1.1-nanoserver-1809",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=sitecore-base:9.1.1-windowsservercore-ltsc2019",
14 | "--build-arg BASE_IMAGE=sitecore-openjdk:8-nanoserver-1809"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore 9.1.1 rev. 002459 (WDP XP0 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-base/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-base:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-1903"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-base:9.1.1-windowsservercore-ltsc2019",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=mcr.microsoft.com/dotnet/framework/aspnet:4.8-windowsservercore-ltsc2019"
13 | ]
14 | }
15 | ],
16 | "sources": []
17 | }
18 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xm1-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-cd:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-base:9.1.1-windowsservercore-1903"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-cd:9.1.1-windowsservercore-ltsc2019",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-base:9.1.1-windowsservercore-ltsc2019"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "license.xml",
18 | "Sitecore 9.1.1 rev. 002459 (WDP XM1 packages).zip"
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xm1-cm/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-cm:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-base:9.1.1-windowsservercore-1903"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-cm:9.1.1-windowsservercore-ltsc2019",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-base:9.1.1-windowsservercore-ltsc2019"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "license.xml",
18 | "Sitecore 9.1.1 rev. 002459 (WDP XM1 packages).zip"
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xm1-sqldev/Boot.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath
9 | )
10 |
11 | $noDatabases = $null -eq (Get-ChildItem -Path $DataPath -Filter "*.mdf")
12 |
13 | if ($noDatabases)
14 | {
15 | Write-Host "### Sitecore databases not found in '$DataPath', seeding clean databases..."
16 |
17 | Get-ChildItem -Path $InstallPath | ForEach-Object {
18 | Copy-Item -Path $_.FullName -Destination $DataPath
19 | }
20 | }
21 | else
22 | {
23 | Write-Host "### Existing Sitecore databases found in '$DataPath'..."
24 | }
25 |
26 | Get-ChildItem -Path $DataPath -Filter "*.mdf" | ForEach-Object {
27 | $databaseName = $_.BaseName.Replace("_Primary", "")
28 | $mdfPath = $_.FullName
29 | $ldfPath = $mdfPath.Replace(".mdf", ".ldf")
30 | $sqlcmd = "IF EXISTS (SELECT 1 FROM SYS.DATABASES WHERE NAME = '$databaseName') BEGIN EXEC sp_detach_db [$databaseName] END;CREATE DATABASE [$databaseName] ON (FILENAME = N'$mdfPath'), (FILENAME = N'$ldfPath') FOR ATTACH;"
31 |
32 | Write-Host "### Attaching '$databaseName'..."
33 |
34 | Invoke-Sqlcmd -Query $sqlcmd
35 | }
36 |
37 | Write-Host "### Sitecore databases ready!"
38 |
39 | & C:\Start.ps1 -sa_password $env:sa_password -ACCEPT_EULA $env:ACCEPT_EULA -attach_dbs \"$env:attach_dbs\" -Verbose
40 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xm1-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | DB_PREFIX='sc' `
9 | INSTALL_PATH='c:/install/' `
10 | DATA_PATH='c:/data/'
11 |
12 | COPY . ${INSTALL_PATH}
13 |
14 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
15 | & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
16 | & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
17 | Copy-Item -Path (Join-Path $env:INSTALL_PATH "\\Boot.ps1") -Destination 'C:\\'; `
18 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude "*.mdf", "*.ldf" | Remove-Item -Force;
19 |
20 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xm1-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Expand-Archive -Path (Join-Path $Path '*(WDP*).zip') -DestinationPath $Path -Force;
9 |
10 | Get-ChildItem -Path $Path -Filter "*(OnPrem)*.zip" | ForEach-Object {
11 | $zipPath = $_.FullName
12 |
13 | try
14 | {
15 | $stream = New-Object IO.FileStream($zipPath, [IO.FileMode]::Open)
16 | $zip = New-Object IO.Compression.ZipArchive($stream, [IO.Compression.ZipArchiveMode]::Read)
17 |
18 | ($zip.Entries | Where-Object { $_.FullName -like "Sitecore.*.dacpac" -and !($_.Name -like "*azure*") }) | Foreach-Object {
19 | [IO.Compression.ZipFileExtensions]::ExtractToFile($_, (Join-Path $Path $_.Name), $true)
20 | }
21 | }
22 | finally
23 | {
24 | if ($zip -ne $null)
25 | {
26 | $zip.Dispose()
27 | }
28 |
29 | if ($stream -ne $null)
30 | {
31 | $stream.Dispose()
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xm1-sqldev/Install-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath,
9 | [Parameter(Mandatory = $true)]
10 | [ValidateNotNullOrEmpty()]
11 | [string]$DatabasePrefix
12 | )
13 |
14 | [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
15 |
16 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
17 | $server.Properties["DefaultFile"].Value = $InstallPath
18 | $server.Properties["DefaultLog"].Value = $InstallPath
19 | $server.Alter()
20 |
21 | $sqlPackageExePath = Get-Item "C:\tools\*\lib\net46\SqlPackage.exe" | Select-Object -Last 1 -Property FullName -ExpandProperty FullName
22 |
23 | Write-Host "Using: $sqlPackageExePath"
24 |
25 | Push-Location -Path $InstallPath
26 |
27 | Get-ChildItem -Path $InstallPath -Filter "*.dacpac" | ForEach-Object {
28 | $databaseName = $_.BaseName.Replace("Sitecore.", "$DatabasePrefix`_").Replace(".Database.Sql", ".ShardMapManager")
29 | $dacpacPath = ".\{0}" -f $_.Name
30 |
31 | # Install
32 | & $sqlPackageExePath /a:Publish /sf:$dacpacPath /tdn:$databaseName /tsn:$env:COMPUTERNAME /q
33 |
34 | # Detach
35 | Invoke-Sqlcmd -Query "EXEC MASTER.dbo.sp_detach_db @dbname = N'$databaseName', @keepfulltextindexfile = N'false'"
36 | }
37 |
38 | Pop-Location
39 |
40 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
41 | $server.Properties["DefaultFile"].Value = $DataPath
42 | $server.Properties["DefaultLog"].Value = $DataPath
43 | $server.Alter()
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xm1-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-sqldev:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1903"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xm1-sqldev:9.1.1-windowsservercore-ltsc2019",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-ltsc2019"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore 9.1.1 rev. 002459 (WDP XM1 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-base/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-base:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-base:9.1.1-windowsservercore-1903"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xp-base:9.1.1-windowsservercore-ltsc2019",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-base:9.1.1-windowsservercore-ltsc2019"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "Sitecore 9.1.1 rev. 002459 (WDP XP0 packages).zip"
18 | ]
19 | }
20 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-cd:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.1-windowsservercore-1903"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xp-cd:9.1.1-windowsservercore-ltsc2019",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.1-windowsservercore-ltsc2019"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "license.xml",
18 | "Sitecore 9.1.1 rev. 002459 (WDP XP1 packages).zip"
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE
5 |
6 | ENV ACCEPT_EULA='Y' `
7 | sa_password='HASH-epsom-sunset-cost7!' `
8 | DB_PREFIX='sc' `
9 | INSTALL_PATH='c:/install/' `
10 | DATA_PATH='c:/data/' `
11 | SQL_HOSTNAME='sql'
12 |
13 | COPY . ${INSTALL_PATH}
14 |
15 | RUN New-Item -Path $env:DATA_PATH -ItemType Directory | Out-Null; `
16 | & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
17 | & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
18 | & (Join-Path $env:INSTALL_PATH "\\Install-Shards.ps1") -InstallPath $env:INSTALL_PATH -DatabasePrefix $env:DB_PREFIX; `
19 | Copy-Item -Path (Join-Path $env:INSTALL_PATH "\\Boot.ps1") -Destination 'C:\\'; `
20 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Force;
21 |
22 | CMD C:/Boot.ps1 -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -SqlHostname $env:SQL_HOSTNAME -DatabasePrefix $env:DB_PREFIX;
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Add-Type -Assembly "System.IO.Compression.FileSystem";
9 |
10 | Expand-Archive -Path (Join-Path $Path '*(WDP*).zip') -DestinationPath $Path -Force;
11 |
12 | Get-ChildItem -Path $Path -Filter "*(OnPrem)*single*.zip" | ForEach-Object {
13 | $zipPath = $_.FullName
14 |
15 | try
16 | {
17 | $zip = [IO.Compression.ZipFile]::OpenRead($zipPath)
18 |
19 | ($zip.Entries | Where-Object { $_.FullName -like "Sitecore.*.dacpac" -and $_.Name -notlike "*Xdb.Collection*.dacpac" }) | Foreach-Object {
20 | [IO.Compression.ZipFileExtensions]::ExtractToFile($_, (Join-Path $Path $_.Name), $true)
21 | }
22 | }
23 | finally
24 | {
25 | if ($zip -ne $null)
26 | {
27 | $zip.Dispose()
28 | }
29 | }
30 | }
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-sqldev/Install-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$InstallPath,
6 | [Parameter(Mandatory = $true)]
7 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
8 | [string]$DataPath,
9 | [Parameter(Mandatory = $true)]
10 | [ValidateNotNullOrEmpty()]
11 | [string]$DatabasePrefix
12 | )
13 |
14 | [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
15 |
16 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
17 | $server.Properties["DefaultFile"].Value = $InstallPath
18 | $server.Properties["DefaultLog"].Value = $InstallPath
19 | $server.Alter()
20 |
21 | $sqlPackageExePath = Get-Item "C:\tools\*\lib\net46\SqlPackage.exe" | Select-Object -Last 1 -Property FullName -ExpandProperty FullName
22 |
23 | Get-ChildItem -Path $InstallPath -Filter "*.dacpac" | ForEach-Object {
24 | $databaseName = $_.BaseName.Replace("Sitecore.", "$DatabasePrefix`_")
25 | $dacpacPath = Join-Path $InstallPath ("\{0}" -f $_.Name)
26 |
27 | # Install
28 | & $sqlPackageExePath /a:Publish /sf:$dacpacPath /tdn:$databaseName /tsn:$env:COMPUTERNAME /q
29 |
30 | # Detach
31 | Invoke-Sqlcmd -Query "EXEC MASTER.dbo.sp_detach_db @dbname = N'$databaseName', @keepfulltextindexfile = N'false'"
32 | }
33 |
34 | $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:COMPUTERNAME)
35 | $server.Properties["DefaultFile"].Value = $DataPath
36 | $server.Properties["DefaultLog"].Value = $DataPath
37 | $server.Alter()
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-sqldev:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-1903"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-sqldev:9.1.1-windowsservercore-ltsc2019",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mssql-developer:2017-windowsservercore-ltsc2019"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore 9.1.1 rev. 002459 (WDP XP0 packages).zip"
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-standalone/Sitecore/Config/SitecoreServices.EnabledRemoteAccess.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-standalone/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-standalone:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.1-windowsservercore-1903"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xp-standalone:9.1.1-windowsservercore-ltsc2019",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.1-windowsservercore-ltsc2019"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "license.xml",
18 | "Sitecore 9.1.1 rev. 002459 (WDP XP0 packages).zip"
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-xconnect-automationengine/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | FROM $BASE_IMAGE
8 |
9 | COPY --from=builder ["/inetpub/xconnect/App_Data/jobs/continuous/AutomationEngine", "/AutomationEngine"]
10 |
11 | RUN Remove-Item -Path 'C:\\AutomationEngine\\App_Data\\logs' -Force -Recurse; `
12 | Stop-Service -Name 'W3SVC' -Force; `
13 | Remove-Item -Path 'C:\\ServiceMonitor.exe' -Force;
14 |
15 | ENTRYPOINT [ "C:\\AutomationEngine\\maengine.exe" ]
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-xconnect-automationengine/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-xconnect-automationengine:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.1.1-windowsservercore-1903",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.1-windowsservercore-1903"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-xconnect-automationengine:9.1.1-windowsservercore-ltsc2019",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.1.1-windowsservercore-ltsc2019",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.1-windowsservercore-ltsc2019"
15 | ]
16 | }
17 | ],
18 | "sources": []
19 | }
20 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-xconnect-indexworker/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | FROM $BASE_IMAGE
8 |
9 | COPY --from=builder ["/inetpub/xconnect/App_Data/jobs/continuous/IndexWorker", "/IndexWorker"]
10 |
11 | RUN Remove-Item -Path 'C:\\IndexWorker\\App_Data\\logs' -Force -Recurse; `
12 | Stop-Service -Name 'W3SVC' -Force; `
13 | Remove-Item -Path 'C:\\ServiceMonitor.exe' -Force;
14 |
15 | ENTRYPOINT [ "C:\\IndexWorker\\XConnectSearchIndexer.exe" ]
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-xconnect-indexworker/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-xconnect-indexworker:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.1.1-windowsservercore-1903",
7 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.1-windowsservercore-1903"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-xconnect-indexworker:9.1.1-windowsservercore-ltsc2019",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=sitecore-xp-xconnect:9.1.1-windowsservercore-ltsc2019",
14 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.1-windowsservercore-ltsc2019"
15 | ]
16 | }
17 | ],
18 | "sources": []
19 | }
20 |
--------------------------------------------------------------------------------
/images/9.1.1 rev. 002459/windowsservercore/sitecore-xp-xconnect/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-xconnect:9.1.1-windowsservercore-1903",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.1-windowsservercore-1903"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xp-xconnect:9.1.1-windowsservercore-ltsc2019",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-xp-base:9.1.1-windowsservercore-ltsc2019"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "license.xml",
18 | "Sitecore 9.1.1 rev. 002459 (WDP XP0 packages).zip"
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/images/mssql-developer-2017/windowsservercore/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "mssql-developer:2017-windowsservercore-1903",
5 | "build-options": [
6 | "--memory 4GB",
7 | "--build-arg BASE_IMAGE=mcr.microsoft.com/windows/servercore:1903"
8 | ]
9 | },
10 | {
11 | "tag": "mssql-developer:2017-windowsservercore-ltsc2019",
12 | "build-options": [
13 | "--memory 4GB",
14 | "--build-arg BASE_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019"
15 | ]
16 | },
17 | {
18 | "tag": "mssql-developer:2017-windowsservercore-1803",
19 | "build-options": [
20 | "--memory 4GB",
21 | "--build-arg BASE_IMAGE=mcr.microsoft.com/windows/servercore:1803"
22 | ]
23 | },
24 | {
25 | "tag": "mssql-developer:2017-windowsservercore-1709",
26 | "build-options": [
27 | "--memory 4GB",
28 | "--build-arg BASE_IMAGE=mcr.microsoft.com/windows/servercore:1709"
29 | ],
30 | "deprecated": true
31 | }
32 | ],
33 | "sources": []
34 | }
--------------------------------------------------------------------------------
/images/sitecore-openjdk/nanoserver/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
8 |
9 | # Install JAVA
10 | ENV JAVA_HOME C:\\ojdkbuild
11 | ENV JAVA_OJDKBUILD_VERSION 1.8.0.191-1
12 | ENV JAVA_OJDKBUILD_ZIP java-1.8.0-openjdk-1.8.0.191-1.b12.ojdkbuild.windows.x86_64.zip
13 |
14 | RUN [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
15 | Invoke-WebRequest -Uri $('https://github.com/ojdkbuild/ojdkbuild/releases/download/{0}/{1}' -f $env:JAVA_OJDKBUILD_VERSION, $env:JAVA_OJDKBUILD_ZIP) -UseBasicParsing -OutFile 'ojdkbuild.zip'; `
16 | Expand-Archive ojdkbuild.zip -DestinationPath C:\; `
17 | Move-Item -Path ('C:\\{0}' -f ($env:JAVA_OJDKBUILD_ZIP -Replace '.zip', '')) -Destination $env:JAVA_HOME;
18 |
19 | FROM $BASE_IMAGE
20 |
21 | COPY --from=builder /ojdkbuild /ojdkbuild
22 |
23 | ENV JAVA_HOME C:\\ojdkbuild
--------------------------------------------------------------------------------
/images/sitecore-openjdk/nanoserver/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-openjdk:8-nanoserver-1903",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
7 | "--build-arg BASE_IMAGE=mcr.microsoft.com/windows/nanoserver:1903"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-openjdk:8-nanoserver-1809",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
14 | "--build-arg BASE_IMAGE=mcr.microsoft.com/windows/nanoserver:1809"
15 | ]
16 | },
17 | {
18 | "tag": "sitecore-openjdk:8-nanoserver-1803",
19 | "build-options": [
20 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1803",
21 | "--build-arg BASE_IMAGE=mcr.microsoft.com/windows/nanoserver:1803"
22 | ]
23 | },
24 | {
25 | "tag": "sitecore-openjdk:8-nanoserver-1709",
26 | "build-options": [
27 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1709",
28 | "--build-arg BASE_IMAGE=mcr.microsoft.com/windows/nanoserver:1709"
29 | ],
30 | "deprecated": true
31 | }
32 | ],
33 | "sources": []
34 | }
--------------------------------------------------------------------------------
/tests/7.5 rev. 150212/1803/data/mongo/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/7.5 rev. 150212/1803/data/sql/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/7.5 rev. 150212/1803/data/standalone/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/7.5 rev. 150212/1803/docker-compose.standalone.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | standalone:
6 | image: sitecore:7.5.150212-windowsservercore-1803
7 | volumes:
8 | - .\data\standalone:C:\Sitecore
9 | ports:
10 | - "44002:80"
11 | links:
12 | - sql
13 | - mongodb
14 |
15 | mongodb:
16 | image: mongo:4.1.8-windowsservercore-1803
17 | volumes:
18 | - .\data\mongo:C:\data\db
19 | mem_limit: 2GB
20 | ports:
21 | - "27117:27017"
22 |
23 | sql:
24 | image: sitecore-sqldev:7.5.150212-windowsservercore-1803
25 | volumes:
26 | - .\data\sql:C:\Data
27 | mem_limit: 2GB
28 | ports:
29 | - "44010:1433"
--------------------------------------------------------------------------------
/tests/8.2 rev. 161221/1803/data/cm/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/8.2 rev. 161221/1803/data/mongo/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/8.2 rev. 161221/1803/data/sql/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/8.2 rev. 161221/1803/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | sql:
6 | image: sitecore-sqldev:8.2.161221-windowsservercore-1803
7 | volumes:
8 | - .\data\sql:C:\Data
9 | mem_limit: 2GB
10 | ports:
11 | - "44010:1433"
12 |
13 | mongodb:
14 | image: mongo:4.1.8-windowsservercore-1803
15 | volumes:
16 | - .\data\mongo:C:\data\db
17 | mem_limit: 2GB
18 | ports:
19 | - "44012:27017"
20 |
21 | cm:
22 | image: sitecore:8.2.161221-windowsservercore-1803
23 | volumes:
24 | - .\data\cm:C:\Sitecore\Data\logs
25 | ports:
26 | - "44001:80"
27 | links:
28 | - sql
29 | - mongodb
30 |
--------------------------------------------------------------------------------
/tests/8.2 rev. 170407/1803/data/mongo/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/8.2 rev. 170407/1803/data/sql/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/8.2 rev. 170407/1803/data/standalone/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/8.2 rev. 170407/1803/docker-compose.standalone.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | standalone:
6 | image: sitecore:8.2.170407-windowsservercore-1803
7 | volumes:
8 | - .\data\standalone:C:\Sitecore
9 | ports:
10 | - "44002:80"
11 | links:
12 | - sql
13 | - mongodb
14 |
15 | mongodb:
16 | image: mongo:4.1.8-windowsservercore-1803
17 | volumes:
18 | - .\data\mongo:C:\data\db
19 | mem_limit: 2GB
20 | ports:
21 | - "27117:27017"
22 |
23 | sql:
24 | image: sitecore-sqldev:8.2.170407-windowsservercore-1803
25 | volumes:
26 | - .\data\sql:C:\Data
27 | mem_limit: 2GB
28 | ports:
29 | - "44010:1433"
--------------------------------------------------------------------------------
/tests/8.2 rev. 170614/1803/data/mongo/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/8.2 rev. 170614/1803/data/sql/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/8.2 rev. 170614/1803/data/standalone/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/8.2 rev. 170614/1803/docker-compose.standalone.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | standalone:
6 | image: sitecore:8.2.170614-windowsservercore-1803
7 | volumes:
8 | - .\data\standalone:C:\Sitecore
9 | ports:
10 | - "44002:80"
11 | links:
12 | - sql
13 | - mongodb
14 |
15 | mongodb:
16 | image: mongo:4.1.8-windowsservercore-1803
17 | volumes:
18 | - .\data\mongo:C:\data\db
19 | mem_limit: 2GB
20 | ports:
21 | - "27117:27017"
22 |
23 | sql:
24 | image: sitecore-sqldev:8.2.170614-windowsservercore-1803
25 | volumes:
26 | - .\data\sql:C:\Data
27 | mem_limit: 2GB
28 | ports:
29 | - "44010:1433"
--------------------------------------------------------------------------------
/tests/9.0.1 rev. 180604/1803/data/cd/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.1 rev. 180604/1803/data/cm/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.1 rev. 180604/1803/data/solr/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.1 rev. 180604/1803/data/sql/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.1 rev. 180604/1803/data/xconnect-automationengine/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.1 rev. 180604/1803/data/xconnect-indexworker/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.1 rev. 180604/1803/data/xconnect/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/1803/data/cd/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/1803/data/cm/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/1803/data/solr/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/1803/data/sql/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/1803/data/xconnect-automationengine/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/1803/data/xconnect-indexworker/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/1803/data/xconnect/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/1803/docker-compose.xm.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | sql:
6 | image: sitecore-sqldev:9.0.180604-windowsservercore-1803
7 | volumes:
8 | - .\data\sql:C:\Data
9 | mem_limit: 2000MB
10 | ports:
11 | - "44010:1433"
12 |
13 | solr:
14 | image: sitecore-solr:9.0.180604-nanoserver-1803
15 | volumes:
16 | - .\data\solr:C:\Data
17 | mem_limit: 1000MB
18 | ports:
19 | - "44011:8983"
20 |
21 | cd:
22 | image: sitecore-xm1-cd:9.0.180604-windowsservercore-1803
23 | volumes:
24 | - .\data\cd:C:\inetpub\sc\App_Data\logs
25 | ports:
26 | - "44002:80"
27 | links:
28 | - sql
29 | - solr
30 |
31 | cm:
32 | image: sitecore-xm1-cm:9.0.180604-windowsservercore-1803
33 | volumes:
34 | - .\data\cm:C:\inetpub\sc\App_Data\logs
35 | ports:
36 | - "44001:80"
37 | links:
38 | - sql
39 | - solr
40 |
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/ltsc2019/data/cm/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/ltsc2019/data/solr/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/ltsc2019/data/sql/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.0.2 rev. 180604/ltsc2019/docker-compose.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | sql:
6 | image: sitecore-sqldev:9.0.180604-windowsservercore-ltsc2019
7 | volumes:
8 | - .\data\sql:C:\Data
9 | mem_limit: 2000MB
10 | ports:
11 | - "44003:1433"
12 |
13 | solr:
14 | image: sitecore-solr:9.0.180604-nanoserver-1809
15 | volumes:
16 | - .\data\solr:C:\Data
17 | mem_limit: 1000MB
18 | ports:
19 | - "44002:8983"
20 |
21 | cm:
22 | image: sitecore-xm1-cm:9.0.180604-windowsservercore-ltsc2019
23 | volumes:
24 | - .\data\cm:C:\inetpub\sc\App_Data\logs
25 | ports:
26 | - "44001:80"
27 | links:
28 | - sql
29 | - solr
30 |
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/1803/data/cd/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/1803/data/cm/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/1803/data/solr/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/1803/data/sql/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/1803/data/xconnect-automationengine/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/1803/data/xconnect-indexworker/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/1803/data/xconnect/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/1803/docker-compose.xm.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | sql:
6 | image: sitecore-xm1-sqldev:9.1.0-windowsservercore-1803
7 | volumes:
8 | - .\data\sql:C:\Data
9 | mem_limit: 2GB
10 | ports:
11 | - "44010:1433"
12 |
13 | solr:
14 | image: sitecore-xm1-solr:9.1.0-nanoserver-1803
15 | volumes:
16 | - .\data\solr:C:\Data
17 | mem_limit: 1GB
18 | ports:
19 | - "44011:8983"
20 |
21 | cd:
22 | image: sitecore-xm1-cd:9.1.0-windowsservercore-1803
23 | volumes:
24 | - .\data\cd:C:\inetpub\sc\App_Data\logs
25 | ports:
26 | - "44002:80"
27 | links:
28 | - sql
29 | - solr
30 |
31 | cm:
32 | image: sitecore-xm1-cm:9.1.0-windowsservercore-1803
33 | volumes:
34 | - .\data\cm:C:\inetpub\sc\App_Data\logs
35 | ports:
36 | - "44001:80"
37 | links:
38 | - sql
39 | - solr
40 |
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/1803/docker-compose.xp.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | sql:
6 | image: sitecore-xp-sqldev:9.1.0-windowsservercore-1803
7 | volumes:
8 | - .\data\sql:C:\Data
9 | mem_limit: 2GB
10 | ports:
11 | - "44010:1433"
12 |
13 | solr:
14 | image: sitecore-xp-solr:9.1.0-nanoserver-1803
15 | volumes:
16 | - .\data\solr:C:\Data
17 | mem_limit: 1GB
18 | ports:
19 | - "44011:8983"
20 |
21 | xconnect:
22 | image: sitecore-xp-xconnect:9.1.0-windowsservercore-1803
23 | volumes:
24 | - .\data\xconnect:C:\inetpub\xconnect\App_Data\logs
25 | mem_limit: 1GB
26 | links:
27 | - sql
28 | - solr
29 |
30 | xconnect-automationengine:
31 | image: sitecore-xp-xconnect-automationengine:9.1.0-windowsservercore-1803
32 | volumes:
33 | - .\data\xconnect-automationengine:C:\AutomationEngine\App_Data\logs
34 | mem_limit: 500MB
35 | links:
36 | - sql
37 | - xconnect
38 |
39 | xconnect-indexworker:
40 | image: sitecore-xp-xconnect-indexworker:9.1.0-windowsservercore-1803
41 | volumes:
42 | - .\data\xconnect-indexworker:C:\IndexWorker\App_Data\logs
43 | mem_limit: 500MB
44 | links:
45 | - sql
46 | - solr
47 |
48 | cd:
49 | image: sitecore-xp-cd:9.1.0-windowsservercore-1803
50 | volumes:
51 | - .\data\cd:C:\inetpub\sc\App_Data\logs
52 | ports:
53 | - "44002:80"
54 | links:
55 | - sql
56 | - solr
57 | - xconnect
58 |
59 | cm:
60 | image: sitecore-xp-standalone:9.1.0-windowsservercore-1803
61 | volumes:
62 | - .\data\cm:C:\inetpub\sc\App_Data\logs
63 | ports:
64 | - "44001:80"
65 | links:
66 | - sql
67 | - solr
68 | - xconnect
69 |
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/ltsc2019/data/cd/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/ltsc2019/data/cm/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/ltsc2019/data/solr/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/ltsc2019/data/sql/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/ltsc2019/data/xconnect-automationengine/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/ltsc2019/data/xconnect-indexworker/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/ltsc2019/data/xconnect/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.0 rev. 001564/ltsc2019/docker-compose.xm.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | sql:
6 | image: sitecore-xm1-sqldev:9.1.0-windowsservercore-ltsc2019
7 | volumes:
8 | - .\data\sql:C:\Data
9 | mem_limit: 2GB
10 | ports:
11 | - "44010:1433"
12 |
13 | solr:
14 | image: sitecore-xm1-solr:9.1.0-nanoserver-1809
15 | volumes:
16 | - .\data\solr:C:\Data
17 | mem_limit: 1GB
18 | ports:
19 | - "44011:8983"
20 |
21 | cd:
22 | image: sitecore-xm1-cd:9.1.0-windowsservercore-ltsc2019
23 | volumes:
24 | - .\data\cd:C:\inetpub\sc\App_Data\logs
25 | ports:
26 | - "44002:80"
27 | links:
28 | - sql
29 | - solr
30 |
31 | cm:
32 | image: sitecore-xm1-cm:9.1.0-windowsservercore-ltsc2019
33 | volumes:
34 | - .\data\cm:C:\inetpub\sc\App_Data\logs
35 | ports:
36 | - "44001:80"
37 | links:
38 | - sql
39 | - solr
40 |
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/.env:
--------------------------------------------------------------------------------
1 | windows_version=1903
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/README.MD:
--------------------------------------------------------------------------------
1 | # docker-compose test variants
2 |
3 | The currently available variants are built with the parent image pattern. We start with the clean Vanilla Sitecore image. The docker images are built from the WDP packages provided by Sitecore. The WDP is prebuilt web deployment packages for CM and CD configuration. If you want to deploy Sitecore on Azure by using the Azure resource manager (ARM) deployment, the same WDP packages are used.
4 |
5 | We created the following structure
6 |
7 | ----------------------------
8 | - Vanilla Sitecore -
9 | -------------^^-------------
10 | - PSE -
11 | -------------^^-------------
12 | - JSS -
13 | -------------^^-------------
14 | - SXA -
15 | -------------^^-------------
16 | - XC (not yet available) -
17 | -------------^^-------------
18 |
19 | Example; XC uses PSE/JSS/SXA
20 |
21 | # Supported docker compose environment variables
22 |
23 | The Sitecore docker compose variants will now start using the docker environment variables, see https://docs.docker.com/compose/environment-variables/
24 |
25 | # windows server core version; ('1903','ltsc2019')
26 | windows_version=
27 |
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/data/cd/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/data/cm/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/data/creativeexchange/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/data/solr/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/data/sql/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/data/xconnect-automationengine/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/data/xconnect-indexworker/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/data/xconnect/README.md:
--------------------------------------------------------------------------------
1 | # Just a placeholder
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/docker-compose.xm.jss.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | sql:
6 | image: sitecore-xm1-jss-11.0.1-sqldev:9.1.1-windowsservercore-${windows_version}
7 | volumes:
8 | - .\data\sql:C:\Data
9 | mem_limit: 2GB
10 | ports:
11 | - "44010:1433"
12 |
13 | solr:
14 | image: sitecore-xm1-solr:9.1.1-nanoserver-${windows_version}
15 | volumes:
16 | - .\data\solr:C:\Data
17 | mem_limit: 1GB
18 | ports:
19 | - "44011:8983"
20 |
21 | cd:
22 | image: sitecore-xm1-jss-11.0.1-cd:9.1.1-windowsservercore-${windows_version}
23 | volumes:
24 | - .\data\cd:C:\inetpub\sc\App_Data\logs
25 | ports:
26 | - "44002:80"
27 | links:
28 | - sql
29 | - solr
30 |
31 | cm:
32 | image: sitecore-xm1-jss-11.0.1-cm:9.1.1-windowsservercore-${windows_version}
33 | volumes:
34 | - .\data\cm:C:\inetpub\sc\App_Data\logs
35 | ports:
36 | - "44001:80"
37 | links:
38 | - sql
39 | - solr
40 |
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/docker-compose.xm.pse.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | sql:
6 | image: sitecore-xm1-pse-5.0-sqldev:9.1.1-windowsservercore-${windows_version}
7 | volumes:
8 | - .\data\sql:C:\Data
9 | mem_limit: 2GB
10 | ports:
11 | - "44010:1433"
12 |
13 | solr:
14 | image: sitecore-xm1-solr:9.1.1-nanoserver-1809
15 | volumes:
16 | - .\data\solr:C:\Data
17 | mem_limit: 1GB
18 | ports:
19 | - "44011:8983"
20 |
21 | cd:
22 | image: sitecore-xm1-cd:9.1.1-windowsservercore-${windows_version}
23 | volumes:
24 | - .\data\cd:C:\inetpub\sc\App_Data\logs
25 | ports:
26 | - "44002:80"
27 | links:
28 | - sql
29 | - solr
30 |
31 | cm:
32 | image: sitecore-xm1-pse-5.0-cm:9.1.1-windowsservercore-${windows_version}
33 | volumes:
34 | - .\data\cm:C:\inetpub\sc\App_Data\logs
35 | ports:
36 | - "44001:80"
37 | links:
38 | - sql
39 | - solr
40 |
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/docker-compose.xm.sxa.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | sql:
6 | image: sitecore-xm1-sxa-1.8.1-sqldev:9.1.1-windowsservercore-${windows_version}
7 | volumes:
8 | - .\data\sql:C:\Data
9 | mem_limit: 2GB
10 | ports:
11 | - "44010:1433"
12 |
13 | solr:
14 | image: sitecore-xm1-solr:9.1.1-nanoserver-${windows_version}
15 | volumes:
16 | - .\data\solr:C:\Data
17 | mem_limit: 1GB
18 | ports:
19 | - "44011:8983"
20 |
21 | cd:
22 | image: sitecore-xm1-sxa-1.8.1-cd:9.1.1-windowsservercore-${windows_version}
23 | volumes:
24 | - .\data\cd:C:\inetpub\sc\App_Data\logs
25 | ports:
26 | - "44002:80"
27 | links:
28 | - sql
29 | - solr
30 |
31 | cm:
32 | image: sitecore-xm1-sxa-1.8.1-cm:9.1.1-windowsservercore-${windows_version}
33 | volumes:
34 | - .\data\cm:C:\inetpub\sc\App_Data\logs
35 | - .\data\creativeexchange:C:\inetpub\sc\App_Data\packages\CreativeExchange\FileStorage
36 | ports:
37 | - "44001:80"
38 | links:
39 | - sql
40 | - solr
41 |
--------------------------------------------------------------------------------
/tests/9.1.1 rev. 002459/windowsservercore/docker-compose.xm.yml:
--------------------------------------------------------------------------------
1 | version: '2.4'
2 |
3 | services:
4 |
5 | sql:
6 | image: sitecore-xm1-sqldev:9.1.1-windowsservercore-${windows_version}
7 | volumes:
8 | - .\data\sql:C:\Data
9 | mem_limit: 2GB
10 | ports:
11 | - "44010:1433"
12 |
13 | solr:
14 | image: sitecore-xm1-solr:9.1.1-nanoserver-${windows_version}
15 | volumes:
16 | - .\data\solr:C:\Data
17 | mem_limit: 1GB
18 | ports:
19 | - "44011:8983"
20 |
21 | cd:
22 | image: sitecore-xm1-cd:9.1.1-windowsservercore-${windows_version}
23 | volumes:
24 | - .\data\cd:C:\inetpub\sc\App_Data\logs
25 | ports:
26 | - "44002:80"
27 | links:
28 | - sql
29 | - solr
30 |
31 | cm:
32 | image: sitecore-xm1-cm:9.1.1-windowsservercore-${windows_version}
33 | volumes:
34 | - .\data\cm:C:\inetpub\sc\App_Data\logs
35 | ports:
36 | - "44001:80"
37 | links:
38 | - sql
39 | - solr
40 |
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xm1-jss-11.0.1-cm/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-jss-11.0.1-cm:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xm1-pse-5.0-cm:9.1.1-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xm1-jss-11.0.1-cm:9.1.1-windowsservercore-1903",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
14 | "--build-arg BASE_IMAGE=sitecore-xm1-pse-5.0-cm:9.1.1-windowsservercore-1903"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore JavaScript Services Server for Sitecore 9.1.1 XM 11.0.1 rev. 190318.scwdp.zip"
20 | ]
21 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xm1-jss-11.0.1-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE as final
5 |
6 | COPY . ${INSTALL_PATH}
7 |
8 | RUN & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
9 | & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
10 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Recurse -Force;
11 |
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xm1-jss-11.0.1-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Add-Type -Assembly "System.IO.Compression.FileSystem";
9 |
10 | # extract mmodule
11 | Get-ChildItem -Path $Path -Filter "*.zip" | ForEach-Object {
12 | Write-Host "Extract module: '$_.FullName'"
13 | Expand-Archive $_.FullName -DestinationPath (Join-Path $Path $_.GetHashCode())
14 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xm1-jss-11.0.1-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-jss-11.0.1-sqldev:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-xm1-pse-5.0-sqldev:9.1.1-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-jss-11.0.1-sqldev:9.1.1-windowsservercore-1903",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-xm1-pse-5.0-sqldev:9.1.1-windowsservercore-1903"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "Sitecore JavaScript Services Server for Sitecore 9.1.1 XM 11.0.1 rev. 190318.scwdp.zip"
18 | ]
19 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xm1-jss.11.0.1-cd/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
8 |
9 | COPY . /install/
10 |
11 | # Expand zips, prepare SIF config and WDP package
12 | RUN $env:SIF_PACKAGE_JSS = 'Sitecore JavaScript Services Server for Sitecore 9.1.1 XM 11.0.1 rev. 190318 CD.scwdp.zip'; `
13 | $env:INSTALL_TEMP = 'C:\\install'; `
14 | Rename-Item -Path (Resolve-Path (Join-Path $env:INSTALL_TEMP $env:SIF_PACKAGE_JSS)).Path -NewName 'jss.zip';
15 |
16 | # Runtime
17 | FROM $BASE_IMAGE as final
18 |
19 | COPY --from=builder [ "/install/jss.zip", "/install/install-package.json", "/install/" ]
20 |
21 | # Install Sitecore, apply tweaks and cleanup
22 | RUN $env:SITENAME = 'sc'; `
23 | $env:INSTALL_TEMP = 'C:\\install'; `
24 | Install-SitecoreConfiguration -Path (Join-Path $env:INSTALL_TEMP '\\install-package.json') -Package (Join-Path $env:INSTALL_TEMP '\\jss.zip') `
25 | -Sitename $env:SITENAME ; `
26 | Remove-Item -Path $env:INSTALL_TEMP -Force -Recurse;
27 |
28 | # ServiceMonitor needs to point to the Application Pool that Sitecore runs in instead of the default one, to support environment variables
29 | ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc", "sc"]
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xm1-jss.11.0.1-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-jss-11.0.1-cd:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xm1-cd:9.1.1-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xm1-jss-11.0.1-cd:9.1.1-windowsservercore-1903",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
14 | "--build-arg BASE_IMAGE=sitecore-xm1-cd:9.1.1-windowsservercore-1903"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore JavaScript Services Server for Sitecore 9.1.1 XM 11.0.1 rev. 190318 CD.scwdp.zip"
20 | ]
21 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xp-jss-11.0.1-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE as final
5 |
6 | COPY . ${INSTALL_PATH}
7 |
8 | RUN & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
9 | & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
10 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Recurse -Force;
11 |
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xp-jss-11.0.1-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Add-Type -Assembly "System.IO.Compression.FileSystem";
9 |
10 | # extract mmodule
11 | Get-ChildItem -Path $Path -Filter "*.zip" | ForEach-Object {
12 | Write-Host "Extract module: '$_.FullName'"
13 | Expand-Archive $_.FullName -DestinationPath (Join-Path $Path $_.GetHashCode())
14 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xp-jss-11.0.1-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-jss-11.0.1-sqldev:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-sqldev:9.1.1-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xp-jss-11.0.1-sqldev:9.1.1-windowsservercore-1903",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-sqldev:9.1.1-windowsservercore-1903"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "Sitecore JavaScript Services Server for Sitecore 9.1.1 XP 11.0.1 rev. 190318.scwdp.zip"
18 | ]
19 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xp-jss-11.0.1-standalone/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-jss-11.0.1-standalone:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-standalone:9.1.1-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-jss-11.0.1-standalone:9.1.1-windowsservercore-1903",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
14 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-standalone:9.1.1-windowsservercore-1903"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore JavaScript Services Server for Sitecore 9.1.1 XP 11.0.1 rev. 190318.scwdp.zip"
20 | ]
21 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xp-jss.11.0.1-cd/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
8 |
9 | COPY . /install/
10 |
11 | # Expand zips, prepare SIF config and WDP package
12 | RUN $env:SIF_PACKAGE_JSS = 'Sitecore JavaScript Services Server for Sitecore 9.1.1 XP 11.0.1 rev. 190318 CD.scwdp.zip'; `
13 | $env:SITENAME = 'sc'; `
14 | $env:INSTALL_TEMP = 'C:\\install'; `
15 | Rename-Item -Path (Resolve-Path (Join-Path $env:INSTALL_TEMP $env:SIF_PACKAGE_JSS)).Path -NewName 'jss.zip';
16 |
17 | # Runtime
18 | FROM $BASE_IMAGE as final
19 |
20 | COPY --from=builder [ "/install/jss.zip", "/install/install-package.json", "/install/" ]
21 |
22 | # Install Sitecore, apply tweaks and cleanup
23 | RUN $env:SITENAME = 'sc'; `
24 | $env:INSTALL_TEMP = 'C:\\install'; `
25 | Install-SitecoreConfiguration -Path (Join-Path $env:INSTALL_TEMP '\\install-package.json') -Package (Join-Path $env:INSTALL_TEMP '\\jss.zip') `
26 | -Sitename $env:SITENAME ; `
27 | Remove-Item -Path $env:INSTALL_TEMP -Force -Recurse;
28 |
29 |
30 | # ServiceMonitor needs to point to the Application Pool that Sitecore runs in instead of the default one, to support environment variables
31 | ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc", "sc"]
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/jss/sitecore-xp-jss.11.0.1-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-jss-11.0.1-cd:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-standalone:9.1.1-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-jss-11.0.1-cd:9.1.1-windowsservercore-1903",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
14 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-standalone:9.1.1-windowsservercore-1903"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore JavaScript Services Server for Sitecore 9.1.1 XP 11.0.1 rev. 190318 CD.scwdp.zip"
20 | ]
21 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/pse/sitecore-xm1-pse-5.0-cm/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
8 |
9 | COPY . /install/
10 |
11 | # Expand zips, prepare SIF config and WDP package
12 | RUN $env:SIF_PACKAGE_PSE = 'Sitecore PowerShell Extensions-5.0.scwdp.zip'; `
13 | $env:INSTALL_TEMP = 'C:\\install'; `
14 | Rename-Item -Path (Resolve-Path (Join-Path $env:INSTALL_TEMP $env:SIF_PACKAGE_PSE)).Path -NewName 'spe.zip';
15 |
16 | # Runtime
17 | FROM $BASE_IMAGE as final
18 |
19 | COPY --from=builder ["/install/install-package.json", "/install/spe.zip", "/install/" ]
20 |
21 | # Install Sitecore, apply tweaks and cleanup
22 | RUN $env:SITENAME = 'sc'; `
23 | $env:INSTALL_TEMP = 'C:\\install'; `
24 | Install-SitecoreConfiguration -Path (Join-Path $env:INSTALL_TEMP '\\install-package.json') -Package (Join-Path $env:INSTALL_TEMP '\\spe.zip') `
25 | -Sitename $env:SITENAME ; `
26 | Remove-Item -Path $env:INSTALL_TEMP -Force -Recurse;
27 |
28 | # ServiceMonitor needs to point to the Application Pool that Sitecore runs in instead of the default one, to support environment variables
29 | ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc", "sc"]
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/pse/sitecore-xm1-pse-5.0-cm/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-pse-5.0-cm:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xm1-cm:9.1.1-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xm1-pse-5.0-cm:9.1.1-windowsservercore-1903",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
14 | "--build-arg BASE_IMAGE=sitecore-xm1-cm:9.1.1-windowsservercore-1903"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore PowerShell Extensions-5.0.scwdp.zip"
20 | ]
21 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/pse/sitecore-xm1-pse-5.0-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE as final
5 |
6 | COPY . ${INSTALL_PATH}
7 |
8 | RUN & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
9 | & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
10 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Recurse -Force;
11 |
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/pse/sitecore-xm1-pse-5.0-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Add-Type -Assembly "System.IO.Compression.FileSystem";
9 |
10 | # extract mmodule
11 | Get-ChildItem -Path $Path -Filter "*.zip" | ForEach-Object {
12 | Write-Host "Extract module: '$_.FullName'"
13 | Expand-Archive $_.FullName -DestinationPath (Join-Path $Path $_.GetHashCode())
14 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/pse/sitecore-xm1-pse-5.0-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-pse-5.0-sqldev:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-xm1-sqldev:9.1.1-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-pse-5.0-sqldev:9.1.1-windowsservercore-1903",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-xm1-sqldev:9.1.1-windowsservercore-1903"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "Sitecore PowerShell Extensions-5.0.scwdp.zip"
18 | ]
19 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/pse/sitecore-xp-pse-5.0-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE as final
5 |
6 | COPY . ${INSTALL_PATH}
7 |
8 | RUN & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
9 | & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
10 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Recurse -Force;
11 |
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/pse/sitecore-xp-pse-5.0-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Add-Type -Assembly "System.IO.Compression.FileSystem";
9 |
10 | # extract mmodule
11 | Get-ChildItem -Path $Path -Filter "*.zip" | ForEach-Object {
12 | Write-Host "Extract module: '$_.FullName'"
13 | Expand-Archive $_.FullName -DestinationPath (Join-Path $Path $_.GetHashCode())
14 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/pse/sitecore-xp-pse-5.0-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-pse-5.0-sqldev:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-xp-sqldev:9.1.1-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xp-pse-5.0-sqldev:9.1.1-windowsservercore-1903",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-xp-sqldev:9.1.1-windowsservercore-1903"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "Sitecore PowerShell Extensions-5.0.scwdp.zip"
18 | ]
19 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/pse/sitecore-xp-pse-5.0-standalone/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
8 |
9 | COPY . /install/
10 |
11 | # Expand zips, prepare SIF config and WDP package
12 | RUN $env:SIF_PACKAGE_PSE = 'Sitecore PowerShell Extensions-5.0.scwdp.zip'; `
13 | $env:SITENAME = 'sc'; `
14 | $env:INSTALL_TEMP = 'C:\\install'; `
15 | Rename-Item -Path (Resolve-Path (Join-Path $env:INSTALL_TEMP $env:SIF_PACKAGE_PSE)).Path -NewName 'spe.zip';
16 |
17 | # Runtime
18 | FROM $BASE_IMAGE as final
19 |
20 | COPY --from=builder ["/install/install-package.json", "/install/spe.zip", "/install/" ]
21 |
22 | # Install Sitecore, apply tweaks and cleanup
23 | RUN $env:SITENAME = 'sc'; `
24 | $env:INSTALL_TEMP = 'C:\\install'; `
25 | Install-SitecoreConfiguration -Path (Join-Path $env:INSTALL_TEMP '\\install-package.json') -Package (Join-Path $env:INSTALL_TEMP '\\spe.zip') `
26 | -Sitename $env:SITENAME ; `
27 | Remove-Item -Path $env:INSTALL_TEMP -Force -Recurse;
28 |
29 |
30 | # ServiceMonitor needs to point to the Application Pool that Sitecore runs in instead of the default one, to support environment variables
31 | ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc", "sc"]
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/pse/sitecore-xp-pse-5.0-standalone/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-pse-5.0-standalone:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-standalone:9.1.1-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-pse-5.0-standalone:9.1.1-windowsservercore-1903",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
14 | "--build-arg BASE_IMAGE=sitecore-xp-standalone:9.1.1-windowsservercore-1903"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore PowerShell Extensions-5.0.scwdp.zip"
20 | ]
21 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xm1-sxa-1.8.1-cm/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
8 |
9 | COPY . /install/
10 |
11 | # Expand zips, prepare SIF config and WDP package
12 | RUN $env:SIF_PACKAGE_SXA = 'Sitecore Experience Accelerator XM 1.8.1 rev. 190319 for 9.1.1.scwdp.zip'; `
13 | $env:INSTALL_TEMP = 'C:\\install'; `
14 | Rename-Item -Path (Resolve-Path (Join-Path $env:INSTALL_TEMP $env:SIF_PACKAGE_SXA)).Path -NewName 'sxa.zip';
15 |
16 | # # Runtime
17 | FROM $BASE_IMAGE as final
18 |
19 | COPY --from=builder [ "/install/sxa.zip", "/install/install-package.json", "/install/" ]
20 |
21 | # Install Sitecore, apply tweaks and cleanup
22 | RUN $env:SITENAME = 'sc'; `
23 | $env:INSTALL_TEMP = 'C:\\install'; `
24 | Install-SitecoreConfiguration -Path (Join-Path $env:INSTALL_TEMP '\\install-package.json') -Package (Join-Path $env:INSTALL_TEMP '\\sxa.zip') `
25 | -Sitename $env:SITENAME ; `
26 | Remove-Item -Path $env:INSTALL_TEMP -Force -Recurse;
27 |
28 | # ServiceMonitor needs to point to the Application Pool that Sitecore runs in instead of the default one, to support environment variables
29 | ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc", "sc"]
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xm1-sxa-1.8.1-cm/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-sxa-1.8.1-cm:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xm1-pse-5.0-cm:9.1.1-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xm1-sxa-1.8.1-cm:9.1.1-windowsservercore-1903",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
14 | "--build-arg BASE_IMAGE=sitecore-xm1-pse-5.0-cm:9.1.1-windowsservercore-1903"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore Experience Accelerator XM 1.8.1 rev. 190319 for 9.1.1.scwdp.zip"
20 | ]
21 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xm1-sxa-1.8.1-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE as final
5 |
6 | COPY . ${INSTALL_PATH}
7 |
8 | RUN & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
9 | & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
10 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Recurse -Force;
11 |
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xm1-sxa-1.8.1-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Add-Type -Assembly "System.IO.Compression.FileSystem";
9 |
10 | # extract mmodule
11 | Get-ChildItem -Path $Path -Filter "*.zip" | ForEach-Object {
12 | Write-Host "Extract module: '$_.FullName'"
13 | Expand-Archive $_.FullName -DestinationPath (Join-Path $Path $_.GetHashCode())
14 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xm1-sxa-1.8.1-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-sxa-1.8.1-sqldev:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-xm1-pse-5.0-sqldev:9.1.1-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xm1-sxa-1.8.1-sqldev:9.1.1-windowsservercore-ltsc2019",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-xm1-pse-5.0-sqldev:9.1.1-windowsservercore-ltsc2019"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "Sitecore Experience Accelerator XM 1.8.1 rev. 190319 for 9.1.1.scwdp.zip"
18 | ]
19 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xm1-sxa.1.8.1-cd/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
8 |
9 | COPY . /install/
10 |
11 | # Expand zips, prepare SIF config and WDP package
12 | RUN $env:SIF_PACKAGE_SXA = 'Sitecore Experience Accelerator XM 1.8.1 rev. 190319 for 9.1.1 CD.scwdp.zip'; `
13 | $env:INSTALL_TEMP = 'C:\\install'; `
14 | Rename-Item -Path (Resolve-Path (Join-Path $env:INSTALL_TEMP $env:SIF_PACKAGE_SXA)).Path -NewName 'sxa.zip';
15 |
16 | # Runtime
17 | FROM $BASE_IMAGE as final
18 |
19 | COPY --from=builder [ "/install/sxa.zip", "/install/install-package.json", "/install/" ]
20 |
21 | # Install Sitecore, apply tweaks and cleanup
22 | RUN $env:SITENAME = 'sc'; `
23 | $env:INSTALL_TEMP = 'C:\\install'; `
24 | Install-SitecoreConfiguration -Path (Join-Path $env:INSTALL_TEMP '\\install-package.json') -Package (Join-Path $env:INSTALL_TEMP '\\sxa.zip') `
25 | -Sitename $env:SITENAME ; `
26 | Remove-Item -Path $env:INSTALL_TEMP -Force -Recurse;
27 |
28 | # ServiceMonitor needs to point to the Application Pool that Sitecore runs in instead of the default one, to support environment variables
29 | ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc", "sc"]
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xm1-sxa.1.8.1-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xm1-sxa-1.8.1-cd:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xm1-cd:9.1.1-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xm1-sxa-1.8.1-cd:9.1.1-windowsservercore-1903",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
14 | "--build-arg BASE_IMAGE=sitecore-xm1-cd:9.1.1-windowsservercore-1903"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore Experience Accelerator XM 1.8.1 rev. 190319 for 9.1.1 CD.scwdp.zip"
20 | ]
21 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xp-sxa-1.8.1-sqldev/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BASE_IMAGE
3 |
4 | FROM $BASE_IMAGE as final
5 |
6 | COPY . ${INSTALL_PATH}
7 |
8 | RUN & (Join-Path $env:INSTALL_PATH "\\Extract-Databases.ps1") -Path $env:INSTALL_PATH; `
9 | & (Join-Path $env:INSTALL_PATH "\\Install-Databases.ps1") -InstallPath $env:INSTALL_PATH -DataPath $env:DATA_PATH -DatabasePrefix $env:DB_PREFIX; `
10 | Get-ChildItem -Path $env:INSTALL_PATH -Exclude '*.mdf', '*.ldf' -Recurse -Force | Remove-Item -Recurse -Force;
11 |
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xp-sxa-1.8.1-sqldev/Extract-Databases.ps1:
--------------------------------------------------------------------------------
1 | [CmdletBinding()]
2 | param(
3 | [Parameter(Mandatory = $true)]
4 | [ValidateScript( {Test-Path $_ -PathType 'Container'})]
5 | [string]$Path
6 | )
7 |
8 | Add-Type -Assembly "System.IO.Compression.FileSystem";
9 |
10 | # extract mmodule
11 | Get-ChildItem -Path $Path -Filter "*.zip" | ForEach-Object {
12 | Write-Host "Extract module: '$_.FullName'"
13 | Expand-Archive $_.FullName -DestinationPath (Join-Path $Path $_.GetHashCode())
14 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xp-sxa-1.8.1-sqldev/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-sxa-1.8.1-sqldev:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-sqldev:9.1.1-windowsservercore-ltsc2019"
7 | ]
8 | },
9 | {
10 | "tag": "sitecore-xp-sxa-1.8.1-sqldev:9.1.1-windowsservercore-1903",
11 | "build-options": [
12 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-sqldev:9.1.1-windowsservercore-1903"
13 | ]
14 | }
15 | ],
16 | "sources": [
17 | "Sitecore Experience Accelerator 1.8.1 rev. 190319 for 9.1.1.scwdp.zip"
18 | ]
19 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xp-sxa-1.8.1-standalone/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
8 |
9 | COPY . /install/
10 |
11 | # Expand zips, prepare SIF config and WDP package
12 | RUN $env:SIF_PACKAGE_SXA = 'Sitecore Experience Accelerator 1.8.1 rev. 190319 for 9.1.1.scwdp.zip'; `
13 | $env:SITENAME = 'sc'; `
14 | $env:INSTALL_TEMP = 'C:\\install'; `
15 | Rename-Item -Path (Resolve-Path (Join-Path $env:INSTALL_TEMP $env:SIF_PACKAGE_SXA)).Path -NewName 'sxa.zip';
16 |
17 | # # Runtime
18 | FROM $BASE_IMAGE as final
19 |
20 | COPY --from=builder [ "/install/sxa.zip", "/install/install-package.json", "/install/" ]
21 |
22 | # Install Sitecore, apply tweaks and cleanup
23 | RUN $env:SITENAME = 'sc'; `
24 | $env:INSTALL_TEMP = 'C:\\install'; `
25 | Install-SitecoreConfiguration -Path (Join-Path $env:INSTALL_TEMP '\\install-package.json') -Package (Join-Path $env:INSTALL_TEMP '\\sxa.zip') `
26 | -Sitename $env:SITENAME ; `
27 | Remove-Item -Path $env:INSTALL_TEMP -Force -Recurse;
28 |
29 |
30 | # ServiceMonitor needs to point to the Application Pool that Sitecore runs in instead of the default one, to support environment variables
31 | ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc", "sc"]
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xp-sxa-1.8.1-standalone/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-sxa-1.8.1-standalone:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-standalone:9.1.1-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-sxa-1.8.1-standalone:9.1.1-windowsservercore-1903",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
14 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-standalone:9.1.1-windowsservercore-1903"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore Experience Accelerator 1.8.1 rev. 190319 for 9.1.1.scwdp.zip"
20 | ]
21 | }
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xp-sxa.1.8.1-cd/Dockerfile:
--------------------------------------------------------------------------------
1 | # escape=`
2 | ARG BUILD_IMAGE
3 | ARG BASE_IMAGE
4 |
5 | FROM $BUILD_IMAGE as builder
6 |
7 | SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
8 |
9 | COPY . /install/
10 |
11 | # Expand zips, prepare SIF config and WDP package
12 | RUN $env:SIF_PACKAGE_SXA = 'Sitecore Experience Accelerator 1.8.1 rev. 190319 for 9.1.1 CD.scwdp.zip'; `
13 | $env:SITENAME = 'sc'; `
14 | $env:INSTALL_TEMP = 'C:\\install'; `
15 | Rename-Item -Path (Resolve-Path (Join-Path $env:INSTALL_TEMP $env:SIF_PACKAGE_SXA)).Path -NewName 'sxa.zip';
16 |
17 | # Runtime
18 | FROM $BASE_IMAGE as final
19 |
20 | COPY --from=builder [ "/install/sxa.zip", "/install/install-package.json", "/install/" ]
21 |
22 | # Install Sitecore, apply tweaks and cleanup
23 | RUN $env:SITENAME = 'sc'; `
24 | $env:INSTALL_TEMP = 'C:\\install'; `
25 | Install-SitecoreConfiguration -Path (Join-Path $env:INSTALL_TEMP '\\install-package.json') -Package (Join-Path $env:INSTALL_TEMP '\\sxa.zip') `
26 | -Sitename $env:SITENAME ; `
27 | Remove-Item -Path $env:INSTALL_TEMP -Force -Recurse;
28 |
29 |
30 | # ServiceMonitor needs to point to the Application Pool that Sitecore runs in instead of the default one, to support environment variables
31 | ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc", "sc"]
--------------------------------------------------------------------------------
/variants/9.1.1/windowsservercore/sxa/sitecore-xp-sxa.1.8.1-cd/build.json:
--------------------------------------------------------------------------------
1 | {
2 | "tags": [
3 | {
4 | "tag": "sitecore-xp-sxa-1.8.1-cd:9.1.1-windowsservercore-ltsc2019",
5 | "build-options": [
6 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:ltsc2019",
7 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-standalone:9.1.1-windowsservercore-ltsc2019"
8 | ]
9 | },
10 | {
11 | "tag": "sitecore-xp-sxa-1.8.1-cd:9.1.1-windowsservercore-1903",
12 | "build-options": [
13 | "--build-arg BUILD_IMAGE=mcr.microsoft.com/windows/servercore:1903",
14 | "--build-arg BASE_IMAGE=sitecore-xp-pse-5.0-standalone:9.1.1-windowsservercore-1903"
15 | ]
16 | }
17 | ],
18 | "sources": [
19 | "Sitecore Experience Accelerator 1.8.1 rev. 190319 for 9.1.1 CD.scwdp.zip"
20 | ]
21 | }
--------------------------------------------------------------------------------