File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -102,11 +102,14 @@ RUN if [ $(expr "$BASE" : '.*python.*') -eq 0 ]; then \
102102 echo "Compiled python packages: $(cat /root/requirements_ubi9.txt)" ; fi && \
103103 python3 -m pip install -r /root/requirements_ubi9.txt && \
104104 echo "Installed python version: $(python3 -V)" && \
105- echo "Installed python packages: $(python3 -m pip list)" ; else \
105+ echo "Installed python packages: $(python3 -m pip list)" && \
106+ yum clean all -y; else \
106107 echo "Already using python container as base image. No need to install it." && \
107108 python3 -m pip install -r /root/requirements.in && \
108109 echo "Installed python packages: $(python3 -m pip list)" ; fi
109110
111+ RUN rm -rf /usr/bin/pip*
112+
110113USER root
111114
112115RUN mkdir -p /opt/IBM/bridge /opt/IBM/zimon /var/mmfs/gen && \
You can’t perform that action at this time.
0 commit comments