This is a selection of Docker containers preinstalled with tfenv so that you can use any version of Terraform you want, or even install multiple versions.
We use our anyenv containers as the base to keep the install simple and consistent.
Operating System | Docker Hub Repo | Docker Hub Tags |
---|---|---|
Alpine Linux 3.11 | wolfsoftwareltd/tfenv-alpine | 3.11 |
Alpine Linux 3.12 | wolfsoftwareltd/tfenv-alpine | 3.12 |
Alpine Linux 3.13 | wolfsoftwareltd/tfenv-alpine | 3.13 |
Alpine Linux 3.14 | wolfsoftwareltd/tfenv-alpine | 3.14, latest |
Amazon Linux 1 | wolfsoftwareltd/tfenv-amazonlinux | 1 |
Amazon Linux 2 | wolfsoftwareltd/tfenv-amazonlinux | 2, latest |
Centos 7 | wolfsoftwareltd/tfenv-centos | 7, |
Centos 8 | wolfsoftwareltd/tfenv-centos | 8, latest |
Debian 9 (Stretch) | wolfsoftwareltd/tfenv-debian | 9, stretch |
Debian 9 (Stretch Slim) | wolfsoftwareltd/tfenv-debian | 9-slim, stretch-slim |
Debian 10 (Buster) | wolfsoftwareltd/tfenv-debian | 10, buster |
Debian 10 (Buster Slim) | wolfsoftwareltd/tfenv-debian | 10-slim, buster-slim |
Debian 11 (Bullseye)] | wolfsoftwareltd/tfenv-centos | 11, bullseye, latest |
Debian 11 (Bullseye Slim) | wolfsoftwareltd/tfenv-debian | 11-slim, bullseye-slim |
Debian 12 (Bookworm) | wolfsoftwareltd/tfenv-centos | 12, bookworm |
Debian 12 (Bookworm Slim) | wolfsoftwareltd/tfenv-debian | 12-slim, bookworm-slim |
Ubuntu 14.04 (Trusty Tahr) | wolfsoftwareltd/tfenv-ubuntu | 14.04, trusty |
Ubuntu 16.04 (Xenial Xerus) | wolfsoftwareltd/tfenv-ubuntu | 16.04, xenial |
Ubuntu 18.04 (Bionic Beaver) | wolfsoftwareltd/tfenv-ubuntu | 18.04, bionic |
Ubuntu 20.04 (Focal Fossa) | wolfsoftwareltd/tfenv-ubuntu | 20.04, focal, latest |
Docker containers are automatically rebuilt and published weekly (Mondays 3am)
tfenv-<os>-<version> e.g. tfenv-debian-10
wolfsoftwareltd/tfenv-<os>:<version> e.g. wolfsoftwareltd/tfenv-debian:10
We do not include Dockerfiles with the repository as these are generated dynamically when required. We supply a helper script to do a lot of the heavy listing.
The helper script is called manage-all.sh
and can be from any level of the directory tree and is recursive.
If you are in the top level directory you will need to use
manage.sh
instead ofmanage-all.sh
./manage-all.sh generate
./manage-all.sh build [clean]
./manage-all.sh scan
./manage-all.sh publish
If you want to publish the containers you will need to update the utils.sh script and change the following line.
DOCKER_HUB_ORG='wolfsoftwareltd'