Make aws CLI work

This commit is contained in:
Jonathan Yoder 2019-03-28 11:11:41 -04:00
commit dd8dd86ecc
2 changed files with 4 additions and 4 deletions

View file

@ -57,9 +57,8 @@ RUN curl "https://bootstrap.pypa.io/2.6/get-pip.py" -o "get-pip.py" && \
python get-pip.py python get-pip.py
# Install AWS CLI. # Install AWS CLI.
RUN pip install awscli --upgrade --user RUN pip install awscli --upgrade --user && \
ln -s /root/.local/bin/aws /usr/bin/aws
RUN pip install awscli
RUN chmod 0777 /opt RUN chmod 0777 /opt

View file

@ -51,7 +51,8 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
python get-pip.py python get-pip.py
# Install AWS CLI. # Install AWS CLI.
RUN pip install awscli --upgrade --user RUN pip install awscli --upgrade --user && \
ln -s /root/.local/bin/aws /usr/bin/aws
RUN chmod 0777 /opt RUN chmod 0777 /opt