cd /usr/local/src/ wget https://www.python.org/ftp/python/3.6.7/Python-3.6.7.tgz wget https://files.pythonhosted.org/packages/01/5f/955ed76d1b3f2cbcbd891e0fa1887c01f7f2116d5c014dd5c82f7ab7985c/dockerscan-1.0.0a3.tar.gz tar xf Python-3.6.7.tgz yum install openssl-devel zlib-devel -y cd Python-3.6.7/ ./configure --prefix=/opt/Python make &&make install ln -s /opt/Python/bin/python3 /usr/bin/python3 cd /usr/local/src/ wget --no-check-certificate https://pypi.python.org/packages/source/s/setuptools/setuptools-19.6.tar.gz#md5=c607dd118eae682c44ed146367a17e26 tar xf setuptools-19.6.tar.gz cd setuptools-19.6/ python3 setup.py build python3 setup.py install cd .. wget --no-check-certificate https://pypi.python.org/packages/source/p/pip/pip-8.0.2.tar.gz#md5=3a73c4188f8dbad6a1e6f6d44d117eeb tar -zxvf pip-8.0.2.tar.gz cd pip-8.0.2 python3 setup.py build python3 setup.py install cd /opt/Python/ bin/ ./pip3 install dockerscan ln -s /opt/Python/bin/dockerscan /usr/bin/dockerscan