diff --git a/Dockerfile b/Dockerfile index 4a648a8..ab3fc8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -87,6 +87,15 @@ RUN mkdir /tmp/helm_env/ && \ mv linux-amd64/helm /usr/local/bin/helm && \ rm helm-v${HELM_VERSION}-linux-amd64.tar.gz +# Install AwsCLI +ARG AWSCLI_VERSION=2.15.24 +RUN mkdir /tmp/awscli_env/ && \ + cd /tmp/awscli_env/ && \ + wget "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${AWSCLI_VERSION}.zip" && \ + unzip awscli-exe-linux-x86_64-${AWSCLI_VERSION}.zip && \ + ./aws/install && \ + rm awscli-exe-linux-x86_64-${AWSCLI_VERSION}.zip + # Cleanup RUN apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/README.md b/README.md index 10f2507..e7fdc2a 100644 --- a/README.md +++ b/README.md @@ -45,11 +45,19 @@ Before you begin, make sure you have [Docker](https://docs.docker.com/engine/ins docker run --rm devops-toolkit python3 --version ``` - + ## Use the image from Docker Hub - To be implemented +## Test the image +- Run +```bash +cd scripts +chmod +x check_version_in_toolkit.sh +.check_version_in_toolkit.sh devops-toolkit +``` + ## Contributing - See: [CONTRIBUTING.md](./CONTRIBUTING.md) diff --git a/scripts/check_version_in_toolkit.sh b/scripts/check_version_in_toolkit.sh index 428df09..768e6eb 100644 --- a/scripts/check_version_in_toolkit.sh +++ b/scripts/check_version_in_toolkit.sh @@ -9,6 +9,7 @@ declare -A tools=( [terraform]="1.7.4" [kubectl]="1.29.2" [helm]="3.14.2" + [aws]="2.15.24" # Add more tools as needed )