Skip to content

Commit

Permalink
Merge pull request #22 from theohbrothers/docs/readme-add-development…
Browse files Browse the repository at this point in the history
…-section

Docs (readme): Add Development section
  • Loading branch information
leojonathanoh authored Oct 30, 2022
2 parents c4e7dc1 + 7b7996c commit 05a3b41
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,17 @@ Dockerized `powershell`, based on [mcr.microsoft.com/powershell](https://hub.doc
| `:6.1.3-ubuntu-18.04-git-sops` | [View](variants/6.1.3-ubuntu-18.04-git-sops ) |
| `:6.0.2-ubuntu-16.04` | [View](variants/6.0.2-ubuntu-16.04 ) |
| `:6.0.2-ubuntu-16.04-git-sops` | [View](variants/6.0.2-ubuntu-16.04-git-sops ) |

## Development

Requires Windows `powershell` or [`pwsh`](https://github.com/PowerShell/PowerShell).

```powershell
# Install Generate-DockerImageVariants module: https://github.com/theohbrothers/Generate-DockerImageVariants
Install-Module -Name Generate-DockerImageVariants -Repository PSGallery -Scope CurrentUser -Force -Verbose
# Edit ./generate templates
# Generate the variants
Generate-DockerImageVariants .
```
3 changes: 0 additions & 3 deletions generate/README.md

This file was deleted.

18 changes: 18 additions & 0 deletions generate/templates/README.md.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,22 @@ $(
}
}) -join ''
)
"@

@'
## Development
Requires Windows `powershell` or [`pwsh`](https://github.com/PowerShell/PowerShell).
```powershell
# Install Generate-DockerImageVariants module: https://github.com/theohbrothers/Generate-DockerImageVariants
Install-Module -Name Generate-DockerImageVariants -Repository PSGallery -Scope CurrentUser -Force -Verbose
# Edit ./generate templates
# Generate the variants
Generate-DockerImageVariants .
```
'@

0 comments on commit 05a3b41

Please sign in to comment.