From b92fca9ac9f29fb5a87b53a638aeb27d2db4340e Mon Sep 17 00:00:00 2001 From: Dave Tucker Date: Thu, 14 Mar 2024 17:02:29 +0000 Subject: [PATCH] fix: Install awscli in Dockerfile Signed-off-by: Dave Tucker --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ec88e9b1..f4e773e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,12 @@ RUN dnf install -y nodejs npm python3 python3-pip python3-devel git gcc gcc-c++ # Install lab CLI RUN pip install -e git+https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/redhat-et/instruct-lab-cli#egg=cli -# Install the app +# Install awscliv2 +RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ + unzip awscliv2.zip && \ + ./aws/install + +# Install the bot WORKDIR /usr/src/app COPY package.json package-lock.json ./ RUN npm install