This directory contains Docker configuration for testing Tofu in a controlled environment.
- Docker installed on your system
- Docker Compose (optional, for more advanced usage)
You can use the provided script to build and run tests in Docker:
./run-tests-docker.shIf you prefer to run Docker commands manually:
docker build -t tofu-test .docker run --rm tofu-testdocker-compose up --buildDockerfile: Defines the Ubuntu 22.04 environment with all necessary build tools and dependenciesdocker-compose.yml: Simplifies Docker usage with volume mounting for development.dockerignore: Excludes unnecessary files from the Docker build contextrun-tests-docker.sh: Convenience script for building and running tests
This Docker setup can be integrated with CI/CD pipelines to ensure consistent testing across environments.