Skip to content

Commit

Permalink
fix build by installing awscli through pip
Browse files Browse the repository at this point in the history
  • Loading branch information
wr0ngway committed Jan 31, 2020
1 parent d0f178d commit 6a7a58c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WORKDIR $APP_DIR
COPY . $APP_DIR/

ENV BUILD_PACKAGES=""
ENV APP_PACKAGES="bash curl git docker"
ENV APP_PACKAGES="bash curl git docker python3"

RUN apk --update upgrade && \
apk add \
Expand All @@ -21,11 +21,12 @@ RUN apk --update upgrade && \
apk add \
--virtual build_deps \
$BUILD_PACKAGES && \
apk add aws-cli --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ && \
rake install && \
apk del build_deps && \
rm -rf /var/cache/apk/*

RUN pip3 install awscli --upgrade

RUN curl -sL $TF_PKG > terraform.zip && \
unzip terraform.zip && \
mv terraform /usr/local/bin && \
Expand Down

0 comments on commit 6a7a58c

Please sign in to comment.