diff --git a/builder/Dockerfile.centos-7 b/builder/Dockerfile.centos-7 index 4ddc1ff..9114277 100644 --- a/builder/Dockerfile.centos-7 +++ b/builder/Dockerfile.centos-7 @@ -29,6 +29,8 @@ RUN yum -y update \ pango-devel \ pcre-devel \ pcre2-devel \ + python3 \ + python3-pip \ readline-devel \ rpm-build \ ruby \ @@ -45,12 +47,8 @@ RUN yum -y update \ zlib-devel \ && yum clean all -# Install pip for python -RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ - python get-pip.py - # 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 gem install ffi:1.12.2 fpm