From 1614007a4c3518fa1839675c4873ed3f2bd8599e Mon Sep 17 00:00:00 2001 From: Ethan Graham Date: Tue, 10 Sep 2024 16:26:06 +0200 Subject: [PATCH] backup --- deploy/infrastructure/utils/Dockerfile | 8 ++++---- .../infrastructure/utils/generate_terraform_variables.sh | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/deploy/infrastructure/utils/Dockerfile b/deploy/infrastructure/utils/Dockerfile index d7a2afeb7..ce34c23a0 100644 --- a/deploy/infrastructure/utils/Dockerfile +++ b/deploy/infrastructure/utils/Dockerfile @@ -1,8 +1,8 @@ FROM python:3.10 -WORKDIR /app - -RUN python -m venv /opt/venv -ENV PATH="/opt/venv/bin:$PATH" RUN pip install python-hcl2 + +RUN ls + +WORKDIR /app diff --git a/deploy/infrastructure/utils/generate_terraform_variables.sh b/deploy/infrastructure/utils/generate_terraform_variables.sh index 1b884c497..1290aed77 100755 --- a/deploy/infrastructure/utils/generate_terraform_variables.sh +++ b/deploy/infrastructure/utils/generate_terraform_variables.sh @@ -19,4 +19,5 @@ docker run \ -v "${BASEDIR}/../modules":/app/modules:rw \ -w /app/utils \ terraform-variables \ - ls ../ && python variables.py "$@" + /bin/bash -c "ls ../ && python variables.py $*" + #ls ../ && python3 variables.py "$@"