We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 901dedb commit 74eabfaCopy full SHA for 74eabfa
Dockerfile
@@ -1,6 +1,11 @@
1
FROM mongo
2
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
+# 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
9
10
ENV CRON_TIME="0 3 * * *" \
11
TZ=US/Eastern \
0 commit comments