From 027ff2d1764044511cef20f50f082e6a64056768 Mon Sep 17 00:00:00 2001 From: Natan Date: Tue, 19 May 2026 10:25:20 +0200 Subject: [PATCH 1/2] Add AWS CLI to Docker image Added AWS CLI installation to the InfraScan Docker image. This removes the need to install AWS CLI manually in CI/CD pipelines and makes the container ready for AWS API usage out of the box. Closes #57 --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 16b4816..85eb7e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ WORKDIR /opt/infrascan RUN apt-get update && apt-get install -y --no-install-recommends \ git \ curl \ + unzip \ ca-certificates \ gnupg \ lsb-release \ @@ -24,7 +25,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \ && apt-get update \ - && apt-get install -y --no-install-recommends docker-ce-cli \ + &&& apt-get install -y --no-install-recommends docker-ce-cli \ + && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ + && unzip awscliv2.zip \ + && rm awscliv2.zip \ + && mv aws /aws \ + && /aws/install \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* From 08dcd201d472f54eede8bb76e8636b04dfb14ba8 Mon Sep 17 00:00:00 2001 From: Natan Date: Tue, 19 May 2026 10:31:21 +0200 Subject: [PATCH 2/2] Add AWS CLI to Docker image Added AWS CLI installation to the InfraScan Docker image. This removes the need to install AWS CLI manually in CI/CD pipelines and makes the container ready for AWS API usage out of the box. Closes #57 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 85eb7e0..0eb16a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg \ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null \ && apt-get update \ - &&& apt-get install -y --no-install-recommends docker-ce-cli \ + && apt-get install -y --no-install-recommends docker-ce-cli \ && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \ && unzip awscliv2.zip \ && rm awscliv2.zip \