1_base: builds a base image, based on Ubuntu 16.10 2_buildpy: builds two images: 2a: an image that can build Python 3.6 2b: an image that contains the built Python 3.6 in /opt/python 3_buildwheels: builds an image to build wheel files, puts them in ../4_run 4_run: the production runtime image, which can't build anything and just runs.
10 lines
312 B
Docker
10 lines
312 B
Docker
FROM pillar_base
|
|
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
|