https://github.com/thrashr888/sentinel-simulator-docker
A Docker image for HashiCorp Sentinel
https://github.com/thrashr888/sentinel-simulator-docker
docker sentinel
Last synced: 5 months ago
JSON representation
A Docker image for HashiCorp Sentinel
- Host: GitHub
- URL: https://github.com/thrashr888/sentinel-simulator-docker
- Owner: thrashr888
- License: mit
- Created: 2018-11-17T00:44:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-06T04:47:43.000Z (almost 2 years ago)
- Last Synced: 2024-04-13T04:53:14.086Z (over 1 year ago)
- Topics: docker, sentinel
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/thrashr888/sentinel-simulator/
- Size: 34.2 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sentinel-simulator-docker
This project builds the container image for using the [`sentinel`](https://www.terraform.io/docs/enterprise/sentinel/index.html) command line program.
## Getting Started
```shell
docker run \
--interactive \
--tty \
thrashr888/sentinel-simulator:latest \
--version
``````shell
docker run \
--interactive \
--tty \
--volume $(pwd):/app/ \
--workdir /app/ \
thrashr888/sentinel-simulator:latest \
fmt -check=true $(find . -name "*.sentinel" -type f)
``````shell
docker run \
--interactive \
--tty \
--volume $(pwd):/app/ \
--workdir /app/ \
thrashr888/sentinel-simulator:latest \
test $(find . -name "*.sentinel" ! -path "*/testdata/*")
```## Description
The `latest` version of this container will copy the current stable version of the binary into the container, and set it for use as the default entry point. This will be the best option for most uses, and if you are just looking to run the binary from a container. See all Sentinel releases [here](https://releases.hashicorp.com/sentinel/).