Merge pull request #57 from rstudio/fix-centos6

Fix AWS CLI on CentOS 6
This commit is contained in:
Greg Lin 2020-04-29 15:44:41 -05:00 committed by GitHub
commit 9bc417572e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,8 +37,8 @@ RUN yum -y update \
pcre-devel \
pcre2-devel \
pkgconfig \
python \
python-pip \
python34 \
python34-pip \
readline-devel \
rpm-build \
stunnel \
@ -53,7 +53,7 @@ RUN yum -y update \
&& yum clean all
# Install AWS CLI.
RUN pip install awscli --upgrade --user && \
RUN pip3 install awscli --upgrade --user && \
ln -s /root/.local/bin/aws /usr/bin/aws
RUN chmod 0777 /opt