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.
16 lines
311 B
Docker
16 lines
311 B
Docker
FROM pillar_py:3.6
|
|
MAINTAINER Sybren A. Stüvel <sybren@blender.studio>
|
|
|
|
RUN apt-get install -qy \
|
|
git \
|
|
build-essential \
|
|
checkinstall \
|
|
libffi-dev \
|
|
libssl-dev
|
|
|
|
ENV WHEELHOUSE=/data/wheelhouse
|
|
ENV PIP_WHEEL_DIR=/data/wheelhouse
|
|
ENV PIP_FIND_LINKS=/data/wheelhouse
|
|
|
|
VOLUME /data/wheelhouse
|