Skip to content

Commit 74eabfa

Browse files
committed
Add new awscli version built with pip
1 parent 901dedb commit 74eabfa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
FROM mongo
22

3-
RUN apt-get update && apt-get -y install cron curl && curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" && unzip awscli-bundle.zip && sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
3+
# Install Python and Cron
4+
RUN apt-get update && \
5+
apt-get -y install python python-pip libyaml-dev python-dev cron
6+
7+
# Install AWS CLI and schedule package
8+
RUN pip install pyyaml awscli --upgrade --user
49

510
ENV CRON_TIME="0 3 * * *" \
611
TZ=US/Eastern \

0 commit comments

Comments
 (0)