From d4db28316243bfda0b29e55f70253fb01455af33 Mon Sep 17 00:00:00 2001 From: Waleed Malik Date: Fri, 20 Mar 2020 17:12:31 +0500 Subject: [PATCH 1/3] Install python3 --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7c9fcb4..d12ca3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,11 @@ FROM vmware/powerclicore:ubuntu18.04 RUN apt-get update -RUN apt-get install -y wget jq git +RUN apt-get install -y wget jq git \ + && apt-get install -y python3-pip python3-dev \ + && cd /usr/local/bin \ + && ln -s /usr/bin/python3 python \ + && pip3 install --upgrade pip # Update Modules #RUN pwsh -c "\$ProgressPreference = \"SilentlyContinue\"; Update-Module -Force -AcceptLicense -Confirm:\$false" From 7066267fe100fb3074c5258ee936b734c09248d8 Mon Sep 17 00:00:00 2001 From: Waleed Malik Date: Fri, 20 Mar 2020 17:18:55 +0500 Subject: [PATCH 2/3] Install python3 --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index d12ca3e..ca61afd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,11 +2,7 @@ FROM vmware/powerclicore:ubuntu18.04 RUN apt-get update -RUN apt-get install -y wget jq git \ - && apt-get install -y python3-pip python3-dev \ - && cd /usr/local/bin \ - && ln -s /usr/bin/python3 python \ - && pip3 install --upgrade pip +RUN apt-get install -y wget jq git python3 # Update Modules #RUN pwsh -c "\$ProgressPreference = \"SilentlyContinue\"; Update-Module -Force -AcceptLicense -Confirm:\$false" From da948e9f443c57749eec2122a26a6891330647b4 Mon Sep 17 00:00:00 2001 From: Waleed Malik Date: Fri, 20 Mar 2020 17:29:53 +0500 Subject: [PATCH 3/3] Change workdirectory --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ca61afd..4881b9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -48,7 +48,8 @@ RUN cd /tmp && \ rm -rf ./* RUN mkdir -p /terraform +RUN mkdir -p ~/.config/openstack/ -#ADD . /terraform/ +WORKDIR /terraform CMD ["/bin/bash"]