From d45b1cf3bc680f95f78395a8044647c9bc050d4f Mon Sep 17 00:00:00 2001 From: Nelson Wang Date: Mon, 11 May 2020 15:48:53 -0700 Subject: [PATCH] Updating ubi8 minimal tag --- base/redhat-8/Dockerfile | 2 +- py23-image/redhat-8/Dockerfile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/base/redhat-8/Dockerfile b/base/redhat-8/Dockerfile index c94e9053..ff32290d 100644 --- a/base/redhat-8/Dockerfile +++ b/base/redhat-8/Dockerfile @@ -16,7 +16,7 @@ # the container catalog moved from registry.access.redhat.com to registry.redhat.io # So at some point before they deprecate the old registry we have to make sure that # we have access to the new registry and change where we pull the ubi image from. -FROM registry.access.redhat.com/ubi8/ubi-minimal:8.1-407 +FROM registry.access.redhat.com/ubi8/ubi-minimal:8.1-409 LABEL name="splunk" \ maintainer="support@splunk.com" \ vendor="splunk" \ diff --git a/py23-image/redhat-8/Dockerfile b/py23-image/redhat-8/Dockerfile index 21695cdb..4b1a40aa 100644 --- a/py23-image/redhat-8/Dockerfile +++ b/py23-image/redhat-8/Dockerfile @@ -17,6 +17,7 @@ RUN wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz \ && python3.7 get-pip.py \ && rm -f get-pip.py \ #pip version is not automatically "fixed", unlike debian-based + && ln -sf /usr/bin/python2 /usr/bin/python \ && ln -sf /usr/bin/pip2 /usr/bin/pip \ && ln -sf /usr/bin/pip3.7 /usr/bin/pip3 #microdnf persists metadata which is a problem for removing packages. So have to clean first before removing.