Giter Site home page Giter Site logo

kayeenl / sitecore-module-docker-asset-image-creator Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 5.0 61 KB

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

License: MIT License

PowerShell 100.00%
sitecore sitecore-module sitecore-10 sitecore-docker docker docker-image docker-image-builder sitecorecommunity sitecoremvp sitecore-community

sitecore-module-docker-asset-image-creator's Introduction

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 "Sitecore.PowerShell.Extensions-6.3.zip" -Tag "sitecorepowershell/sitecore-powershell-extensions:6.3-1809" -GenerateCdContentDirectory

    Or use the shorthand aliases:

     .\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

Contributors

sitecore-module-docker-asset-image-creator's People

Contributors

antonytm avatar chris-hmmr avatar kayeenl avatar phaniav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.