Skip to content

Commit e07653d

Browse files
committed
add terraform and aws cli
1 parent 9fd4632 commit e07653d

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

Dockerfile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN mkdir -p /etc/apt/keyrings \
99
&& curl -fsSL https://repo.charm.sh/apt/gpg.key | gpg --dearmor -o /etc/apt/keyrings/charm.gpg \
1010
&& echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | tee /etc/apt/sources.list.d/charm.list
1111

12-
# Install MariaDB and Redis and PHP (incl Apache) and Cypress dependencies
12+
# Install MariaDB and Redis and PHP (incl Apache) and Cypress dependencies and Terraform and AWS CLI
1313
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
1414
&& apt-get install -y libpng-dev libzip-dev libicu-dev libjpeg62-turbo-dev \
1515
&& docker-php-ext-install mysqli pdo pdo_mysql intl \
@@ -20,6 +20,17 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
2020
&& apt-get install -y mariadb-client redis-tools mkdocs-material mkdocs-material-extensions \
2121
&& apt-get install -y npm libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb \
2222
&& apt-get install -y dnsutils fd-find fzf glow lazygit luarocks pv ripgrep vivid \
23+
&& apt-get install -y gnupg \
24+
&& wget -O- https://apt.releases.hashicorp.com/gpg | \
25+
gpg --dearmor | \
26+
sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg > /dev/null \
27+
&& gpg --no-default-keyring \
28+
--keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \
29+
--fingerprint \
30+
&& echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \
31+
sudo tee /etc/apt/sources.list.d/hashicorp.list > /dev/null \
32+
&& apt update \
33+
&& apt-get install -y awscli terraform \
2334
&& apt-get clean -y && rm -rf /var/lib/apt/lists/*
2435

2536
# Install ast-grep

0 commit comments

Comments
 (0)