2017-03-07 22:41:05 +01:00
|
|
|
FROM pillar_base
|
2018-08-30 11:37:53 +02:00
|
|
|
LABEL maintainer="Sybren A. Stüvel <sybren@blender.studio>"
|
2017-03-07 22:41:05 +01:00
|
|
|
|
|
|
|
ADD python /opt/python
|
2017-03-08 12:33:15 +01:00
|
|
|
|
2017-03-07 22:41:05 +01:00
|
|
|
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
|
2017-03-08 12:33:15 +01:00
|
|
|
|
|
|
|
RUN cd /opt/python/bin && \
|
2018-08-30 12:31:31 +02:00
|
|
|
ln -s python3 python
|