diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2023-05-07 20:54:47 -0400 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2023-05-07 21:05:58 -0400 |
| commit | cfc6bdc4ae5677ae742b9270409e9d2f5e6426fd (patch) | |
| tree | 4f1ab639b266dc2be7adbdba021095c5f277c53f /docs/content/installing.md | |
| parent | d297cc7f83e159f49512fdbca8d375857ebf7a68 (diff) | |
Migrate docs site to new theme
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'docs/content/installing.md')
| -rw-r--r-- | docs/content/installing.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/installing.md b/docs/content/installing.md index 144a3805..9b740ef1 100644 --- a/docs/content/installing.md +++ b/docs/content/installing.md @@ -27,7 +27,7 @@ On macOS, you can also install gomplate using [MacPorts](https://www.macports.or $ sudo port install gomplate ``` -## [](https://chocolatey.org/packages/gomplate) Windows with Chocolatey +## Windows with Chocolatey The simplest method for installing gomplate on Windows is to use [`choco`](https://community.chocolatey.org/packages/gomplate): @@ -59,12 +59,11 @@ Of course, there are some drawbacks - any files to be used for [datasources][] must be mounted and any environment variables to be used must be passed through: ```console -$ echo 'My voice is my {{.Env.THING}}. {{(datasource "vault").value}}' \ - | docker run -i -e THING=passport -v /home/me/.vault-token:/root/.vault-token hairyhenderson/gomplate -d vault=vault:///secret/sneakers -f - +$ echo 'My voice is my {{.Env.THING}}. {{(datasource "vault").value}}' | docker run -i -e THING=passport -v /home/me/.vault-token:/root/.vault-token hairyhenderson/gomplate -d vault=vault:///secret/sneakers -f - My voice is my passport. Verify me. ``` -It can be pretty awkward to always type `docker run hairyhenderson/gomplate:stable`, +It can be awkward to always type `docker run hairyhenderson/gomplate:stable`, so this can be made simpler with a shell alias: ```console @@ -145,6 +144,7 @@ $ sh <(curl https://tea.xyz) +gomplate.ca sh $ gomplate --version ... ``` + [releases]: https://github.com/hairyhenderson/gomplate/releases [multi-stage builds]: https://docs.docker.com/develop/develop-images/multistage-build/ [hairyhenderson/gomplate]: https://hub.docker.com/r/hairyhenderson/gomplate/tags/ |
