From c1f4c882e67811b1b9327b66da5f7d5d47691642 Mon Sep 17 00:00:00 2001 From: Jack Meixensperger Date: Wed, 30 Sep 2020 15:54:12 -0700 Subject: [PATCH 1/3] install python2 pyyaml for ansible --- py23-image/centos-8/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py23-image/centos-8/Dockerfile b/py23-image/centos-8/Dockerfile index 0b0ebb8b..d1903f54 100644 --- a/py23-image/centos-8/Dockerfile +++ b/py23-image/centos-8/Dockerfile @@ -26,4 +26,5 @@ RUN wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz \ RUN yum remove -y --setopt=tsflags=noscripts gcc openssl-devel bzip2-devel libffi-devel \ && yum autoremove -y \ && yum clean all -RUN pip3 --no-cache-dir install ansible requests \ No newline at end of file +RUN pip3 --no-cache-dir install ansible requests +RUN pip --no-cache-dir install pyyaml \ No newline at end of file From 57293302b304ca9b57ff940fc95130731567b20f Mon Sep 17 00:00:00 2001 From: Jack Meixensperger Date: Wed, 30 Sep 2020 16:51:55 -0700 Subject: [PATCH 2/3] need requests for uf image ansible --- py23-image/centos-8/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py23-image/centos-8/Dockerfile b/py23-image/centos-8/Dockerfile index d1903f54..aad665d9 100644 --- a/py23-image/centos-8/Dockerfile +++ b/py23-image/centos-8/Dockerfile @@ -27,4 +27,4 @@ RUN yum remove -y --setopt=tsflags=noscripts gcc openssl-devel bzip2-devel libff && yum autoremove -y \ && yum clean all RUN pip3 --no-cache-dir install ansible requests -RUN pip --no-cache-dir install pyyaml \ No newline at end of file +RUN pip --no-cache-dir install pyyaml requests \ No newline at end of file From d50b94523f7341054de4ed65349bab4bec9c665c Mon Sep 17 00:00:00 2001 From: Jack Meixensperger Date: Wed, 30 Sep 2020 16:55:52 -0700 Subject: [PATCH 3/3] combine pip steps --- py23-image/centos-8/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py23-image/centos-8/Dockerfile b/py23-image/centos-8/Dockerfile index aad665d9..afacd7d9 100644 --- a/py23-image/centos-8/Dockerfile +++ b/py23-image/centos-8/Dockerfile @@ -26,5 +26,5 @@ RUN wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz \ RUN yum remove -y --setopt=tsflags=noscripts gcc openssl-devel bzip2-devel libffi-devel \ && yum autoremove -y \ && yum clean all -RUN pip3 --no-cache-dir install ansible requests -RUN pip --no-cache-dir install pyyaml requests \ No newline at end of file +RUN pip3 --no-cache-dir install ansible requests \ + && pip --no-cache-dir install pyyaml requests \ No newline at end of file