Skip to content

Commit 30f9eb6

Browse files
authored
Update Dockerfile
clean up installers
1 parent 99bc826 commit 30f9eb6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 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

@@ -28,7 +29,8 @@ RUN python3.12 -m pip install --upgrade azure-cli
2829
RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.18.18.zip -o awscliv2.zip && \
2930
unzip awscliv2.zip && \
3031
./aws/install --update && \
31-
rm -rf /aws
32+
rm -rf /aws && \
33+
rm -rf /awscliv2.zip
3234

3335
RUN git clone https://github.com/splunk/attack_range.git
3436

0 commit comments

Comments
 (0)