Create links python and pip to python3 and pip3.

This commit is contained in:
2017-03-08 12:33:15 +01:00
parent e086862567
commit e443885460

View File

@@ -1,9 +1,14 @@
FROM pillar_base
MAINTAINER Sybren A. Stüvel <sybren@blender.studio>
LABEL maintainer Sybren A. Stüvel <sybren@blender.studio>
ADD python /opt/python
RUN echo /opt/python/lib > /etc/ld.so.conf.d/python.conf
RUN ldconfig
RUN echo Python is installed in /opt/python/ > README.python
ENV PATH=/opt/python/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN cd /opt/python/bin && \
ln -s python3 python && \
ln -s pip3 pip