Skip to content

Commit cbe4d5f

Browse files
committed
change Dockerfile to install from redhat /ubi8/ubi image
1 parent 337df2b commit cbe4d5f

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

source/Dockerfile

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
FROM registry.access.redhat.com/ubi8/python-36
1+
FROM registry.access.redhat.com/ubi8/ubi
22

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
3+
RUN yum install -y python36 python36-devel
84

9-
CMD python3 -V
10-
CMD pip3 list
5+
RUN /usr/bin/pip3 install --upgrade pip
6+
RUN /usr/bin/pip3 install setuptools
7+
RUN /usr/bin/pip3 install cherrypy
8+
RUN /usr/bin/pip3 install urllib3
9+
RUN /usr/bin/pip3 install requests
10+
11+
RUN echo "Installed python version: $(/usr/bin/python3 -V)"
12+
RUN echo "Installed python packages: $(/usr/bin/pip3 list)"
1113

1214
USER root
1315

0 commit comments

Comments
 (0)