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 \
102
102
echo "Compiled python packages: $(cat /root/requirements_ubi9.txt)" ; fi && \
103
103
python3 -m pip install -r /root/requirements_ubi9.txt && \
104
104
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 \
106
107
echo "Already using python container as base image. No need to install it." && \
107
108
python3 -m pip install -r /root/requirements.in && \
108
109
echo "Installed python packages: $(python3 -m pip list)" ; fi
109
110
111
+ RUN rm -rf /usr/bin/pip*
112
+
110
113
USER root
111
114
112
115
RUN mkdir -p /opt/IBM/bridge /opt/IBM/zimon /var/mmfs/gen && \
You can’t perform that action at this time.
0 commit comments