Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KayeeNL/sitecore-module-docker-asset-image-creator
This repository contains a script to handle the auto creation of a Docker Asset Image for a given Sitecore module
https://github.com/KayeeNL/sitecore-module-docker-asset-image-creator
docker docker-image docker-image-builder sitecore sitecore-10 sitecore-community sitecore-docker sitecore-module sitecore10 sitecorecommunity sitecoremvp
Last synced: 3 months ago
JSON representation
This repository contains a script to handle the auto creation of a Docker Asset Image for a given Sitecore module
- Host: GitHub
- URL: https://github.com/KayeeNL/sitecore-module-docker-asset-image-creator
- Owner: KayeeNL
- License: mit
- Created: 2021-06-22T11:36:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-19T15:19:19.000Z (almost 2 years ago)
- Last Synced: 2024-01-25T00:14:49.200Z (10 months ago)
- Topics: docker, docker-image, docker-image-builder, sitecore, sitecore-10, sitecore-community, sitecore-docker, sitecore-module, sitecore10, sitecorecommunity, sitecoremvp
- Language: PowerShell
- Homepage:
- Size: 59.6 KB
- Stars: 9
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Sitecore - Sitecore Module Docker Asset Image Creator - A script to handle the auto-creation of a Docker Asset Image for a given Sitecore module (Containers)
README
# sitecore-module-docker-asset-image-creator
This repository contains a script to handle the auto creation of a Docker Asset Image for a given Sitecore module
- Clone the repo to your working machine
- Add the Sitecore module package to Package folder under root
- Then invoke the script as shown in example below to convert it into scwdp (used for Azure PaaS) as well as extract the scwdp into a Module folder used for generating the docker image
```powershell
.\Create-SitecoreModule-DockerAssetImage.ps1 -ModulePackageName "Sitecore.PowerShell.Extensions-6.3.zip" -Tag "sitecorepowershell/sitecore-powershell-extensions:6.3-1809" -GenerateCdContentDirectory
```
Or use the shorthand aliases:
```powershell
.\Create-SitecoreModule-DockerAssetImage.ps1 -M "Sitecore.PowerShell.Extensions-6.3.zip" -T "sitecorepowershell/sitecore-powershell-extensions:6.3-1809" -G
```- The folder name is generated based on the ModulePackageName provided while invoking the script and appends the current datetime stamp in `ModulePackageName_yyyyMMdd_HHmmss` format
- Run the docker file under Module folder to generate the image. The script only extracts it for CM role. For other roles, you have to manually create role specific docker files
- Once the image is generated, push it to your container registry to share it with other devs in your team or devops for AKS deployment![image](https://user-images.githubusercontent.com/3968213/129932632-67ee772f-63da-421e-a476-dfe08635ca69.png)
# Contributors
- Robbert Hock - Twitter: @kayeeNL, GitHub: https://github.com/KayeeNL
- Anton Tishchenko - Twitter: @ativn, GitHub: https://github.com/Antonytm
- Christopher Huemmer - Twitter: @chrishmmr, GitHub: https://github.com/chris-hmmr
- Venkata Phani Abburi - Twitter: @phani_abburi, GitHub: https://github.com/phaniav
- Kamruz Jaman - Twitter: @jammykam, GitHub: https://github.com/konabos
- Steve McGill - Twitter: @steviemcgill, GitHub: https://github.com/steviemcg