phaniav / 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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
     .\Create-SitecoreModule-DockerAssetImage.ps1 -ModulePackageName "Brightcove.Media.Framework-10.0.zip"
  • The folder name is generated based on the ModulePackageName provided while invoking the script and appends the current datetime stamp in ModulePackageName_ddMMyyyyHHmmss 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

Contributors

Robbert Hock - Twitter: @kayeeNL, GitHub: https://github.com/KayeeNL

About

This repository contains a script to handle the auto creation of a Docker Asset Image for a given Sitecore module

License:MIT License


Languages

Language:PowerShell 100.0%