We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 337df2b commit cbe4d5fCopy full SHA for cbe4d5f
source/Dockerfile
@@ -1,13 +1,15 @@
1
-FROM registry.access.redhat.com/ubi8/python-36
+FROM registry.access.redhat.com/ubi8/ubi
2
3
-RUN pip3 install --upgrade pip
4
-RUN pip3 install setuptools
5
-RUN pip3 install cherrypy
6
-RUN pip3 install urllib3
7
-RUN pip3 install requests
+RUN yum install -y python36 python36-devel
8
9
-CMD python3 -V
10
-CMD pip3 list
+RUN /usr/bin/pip3 install --upgrade pip
+RUN /usr/bin/pip3 install setuptools
+RUN /usr/bin/pip3 install cherrypy
+RUN /usr/bin/pip3 install urllib3
+RUN /usr/bin/pip3 install requests
+
11
+RUN echo "Installed python version: $(/usr/bin/python3 -V)"
12
+RUN echo "Installed python packages: $(/usr/bin/pip3 list)"
13
14
USER root
15
0 commit comments