Skip to content

Commit

Permalink
Chore/awshelper tf (#2038)
Browse files Browse the repository at this point in the history
* chore(awshelper-tf): Added terraform to awshelper image

* chore(awshelper-tf): Added terraform to awshelper image

* chore(awshelper-tf): Added terraform to awshelper image

* chore(awshelper-tf): Added terraform to awshelper image

* chore(awshelper-tf): Added terraform to awshelper image

* chore(awshelper-tf): Added terraform to awshelper image

* chore(awshelper-tf): Added terraform to awshelper image

Co-authored-by: Edward Malinowski <edwardmalinowski@Eds-MacBook-Pro.attlocal.net>
  • Loading branch information
2 people authored and atharvar28 committed Sep 20, 2022
1 parent 3f856e5 commit a6fe105
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Docker/awshelper/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@ RUN curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc| gpg --dearmor
apt-get update && \
apt-get install -y postgresql-client-13

# install terraform
RUN curl -o /tmp/terraform.zip https://releases.hashicorp.com/terraform/0.11.15/terraform_0.11.15_linux_amd64.zip \
&& unzip /tmp/terraform.zip -d /usr/local/bin && /bin/rm /tmp/terraform.zip

RUN curl -o /tmp/terraform.zip https://releases.hashicorp.com/terraform/0.12.31/terraform_0.12.31_linux_amd64.zip \
&& unzip /tmp/terraform.zip -d /tmp && mv /tmp/terraform /usr/local/bin/terraform12 && /bin/rm /tmp/terraform.zip

RUN useradd -m -s /bin/bash ubuntu && \
( echo "ubuntu:gen3" | chpasswd )

Expand Down Expand Up @@ -113,7 +120,7 @@ RUN cd ./cloud-automation \
&& npm ci \
&& cat ./Docker/awshelper/bashrc_suffix.sh >> ~/.bashrc

RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python3 -
RUN export POETRY_VERSION=1.1.15 && curl -sSL https://install.python-poetry.org | python3 -

RUN git config --global user.email gen3 \
&& git config --global user.name gen3
Expand Down

0 comments on commit a6fe105

Please sign in to comment.