Skip to content

Commit

Permalink
Fix aws-cli install in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveYesland committed May 24, 2024
1 parent cdd72b3 commit 5c06971
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
FROM python:3.9-alpine

LABEL maintainer="Rhino Assessment Team <[email protected]>"
LABEL pacu.version="1.5.1"
LABEL pacu.version="1.5.3"

# Install necessary packages
RUN apk add --no-cache \
aws-cli \
zip
python3 \
py3-pip \
zip \
curl \
unzip

# Install AWS CLI using pip
RUN pip3 install --upgrade pip \
&& pip3 install awscli

# Install Pacu
WORKDIR /usr/src/pacu/
Expand All @@ -15,3 +23,4 @@ RUN pip install .
RUN echo 'AWS_EC2_METADATA_DISABLED=true' >> /etc/profile

ENTRYPOINT ["pacu"]

0 comments on commit 5c06971

Please sign in to comment.