Adds docker-compose installation to runner
Work includes:
- Adds a top-level input.tf variable
runner_docker_compose_version
for version of docker-compose to install (default: 1.29.2) - Uses
runner_docker_compose_version
TF variable in main.tf during rendering ofuser-data.sh
and maps it to script variable of same name,runner_docker_compose_version
viarunner_docker_compose_version = var.runner_docker_compose_version
- Adds a top-level script environment variable to
user-data.sh
,RUNNER_DOCKER_COMPOSE_VERSION
, that stores therunner_docker_compose_version
variable from template rendering in previous step - Adds
install_docker_compose
function tofunctions-docker.sh
that will install docker-compose - Adds the
install_docker_compose
function call touser-data.sh
during docker install