Make aws CLI work
This commit is contained in:
parent
cf300bcd3e
commit
dd8dd86ecc
2 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue