Fix AWS CLI on CentOS 6
This commit is contained in:
parent
edc6a99e2d
commit
6414a3b7ff
1 changed files with 3 additions and 3 deletions
|
|
@ -37,8 +37,8 @@ RUN yum -y update \
|
||||||
pcre-devel \
|
pcre-devel \
|
||||||
pcre2-devel \
|
pcre2-devel \
|
||||||
pkgconfig \
|
pkgconfig \
|
||||||
python \
|
python34 \
|
||||||
python-pip \
|
python34-pip \
|
||||||
readline-devel \
|
readline-devel \
|
||||||
rpm-build \
|
rpm-build \
|
||||||
stunnel \
|
stunnel \
|
||||||
|
|
@ -53,7 +53,7 @@ RUN yum -y update \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
# Install AWS CLI.
|
# Install AWS CLI.
|
||||||
RUN pip install awscli --upgrade --user && \
|
RUN pip3 install awscli --upgrade --user && \
|
||||||
ln -s /root/.local/bin/aws /usr/bin/aws
|
ln -s /root/.local/bin/aws /usr/bin/aws
|
||||||
|
|
||||||
RUN chmod 0777 /opt
|
RUN chmod 0777 /opt
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue