Skip to content

Commit c46c88c

Browse files
author
Patrick Bareiss
committed
Merge branch 'develop' of github.com:splunk/attack_range into develop
2 parents f39f17a + b046af2 commit c46c88c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ RUN apt-get install -y git unzip python3-pip curl vim
1212

1313
RUN curl -s https://releases.hashicorp.com/terraform/1.9.8/terraform_1.9.8_linux_amd64.zip -o terraform.zip && \
1414
unzip terraform.zip && \
15-
mv terraform /usr/local/bin/
15+
mv terraform /usr/local/bin/ && \
16+
rm -rf /terraform.zip
1617

1718
RUN echo 'alias python=python3.12' >> ~/.bashrc
1819

@@ -23,7 +24,13 @@ RUN python3.12 -m pip install --upgrade setuptools wheel
2324

2425
RUN python3.12 -m pip install --upgrade pip
2526

26-
RUN python3.12 -m pip install --upgrade awscli azure-cli
27+
RUN python3.12 -m pip install --upgrade azure-cli
28+
29+
RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.18.18.zip -o awscliv2.zip && \
30+
unzip awscliv2.zip && \
31+
./aws/install --update && \
32+
rm -rf /aws && \
33+
rm -rf /awscliv2.zip
2734

2835
RUN git clone https://github.com/splunk/attack_range.git
2936

0 commit comments

Comments
 (0)