https://github.com/catvec/gomplate-container
Gomplate tool Docker container.
https://github.com/catvec/gomplate-container
Last synced: about 2 months ago
JSON representation
Gomplate tool Docker container.
- Host: GitHub
- URL: https://github.com/catvec/gomplate-container
- Owner: catvec
- License: mit
- Created: 2018-06-08T00:03:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-03T04:51:40.000Z (about 7 years ago)
- Last Synced: 2025-05-04T01:02:13.921Z (11 months ago)
- Language: Makefile
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gomplate Container
Gomplate tool Docker container.
# Table Of Contents
- [Overview](#overview)
- [Development](#development)
- [Deployment](#deployment)
# Overview
Docker container which runs the [Gomplate](https://gomplate.hairyhenderson.ca/)
template tool.
Pass arguments as you normally would to the Gomplate tool.
Mount volumes so the tool can have access to your files
```
docker run \
-v "$(pwd)/templates:/templates" \
-v "$(pwd)/results:/results" \
--rm \
noah-huppert/gomplate \
--input-dir /templates \
--output-dir /results
```
# Development
To build the Docker image run:
```
make
```
This build tag the image `dev`.
To build the image with a specific tag run:
```
make TAG=""
```
# Deployment
To push the Docker image to the registry by running:
```
make push
```