From 1676bd0900d1d9fc990a3474bcc98576cab608ea Mon Sep 17 00:00:00 2001 From: Mikhail Yurasov Date: Wed, 22 Nov 2023 01:51:13 -0800 Subject: [PATCH] Fix packer init --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9caa9e5..4122a03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,8 +40,9 @@ RUN apt-get install -qy terraform RUN apt-get install -yq packer # init packer plugins -RUN (cd /app/src/packer/azure/isaac && packer init .) -RUN (cd /app/src/packer/aws/isaac && packer init .) +COPY . /tmp/app +RUN (cd /tmp/app/src/packer/azure/isaac && packer init .) +RUN (cd /tmp/app/src/packer/aws/isaac && packer init .) # azure command line RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash