Sign inSign up

21buttons/pterrafile

By 21buttons

•Updated over 7 years ago

Image
0

10K+

21buttons/pterrafile repository overview

⁠Dockerized version of pterrafile

https://github.com/claranet/python-terrafile⁠

It allows to run cache Terraform modules from a Terrafile using Docker.

⁠Install (build)

docker build -t pterrafile .

⁠Usage


docker run --rm -it \
-v `pwd`:/app/ pterrafile pterrafile Terrafile

⁠Extend

To extend the libraries to include, just modify the Pipfile and run:

docker run --rm -v `pwd`:/app -e PIPENV_PIPFILE=/app/Pipfile kennethreitz/pipenv \
bash -c "pipenv lock -r > requirements.txt"

This will update the requirements.txt file and the Pipfile.lock.

Enjoy!

Tag summary

Content type

Image

Digest

Size

36 MB

Last updated

over 7 years ago

docker pull 21buttons/pterrafile