Skip to content

Commit

Permalink
Merge pull request #44 from takutakahashi/add_aws_backend
Browse files Browse the repository at this point in the history
add kubectl into toolkit
  • Loading branch information
takutakahashi committed Jun 4, 2020
2 parents 844faf5 + 2b3bde2 commit bf8cdc9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/terraform/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
FROM ubuntu

RUN apt update && apt install -y wget jq unzip
RUN apt update && apt install -y wget curl jq unzip

RUN wget https://releases.hashicorp.com/terraform/0.12.20/terraform_0.12.20_linux_amd64.zip \
&& unzip terraform_0.12.20_linux_amd64.zip \
&& mv terraform /bin/ \
&& rm -f terraform_0.12.20_linux_amd64.zip

RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl \
&& chmod +x kubectl \
&& mv kubectl /bin/

COPY ./terraform.sh /bin/
COPY ./ /app/

0 comments on commit bf8cdc9

Please sign in to comment.