- Ubuntu 17.10 → 18.04. - Python 3.6.3 → 3.6.6. - Use `DEBIAN_FRONTEND=noninteractive` to prevent prompts during installation. - Install `tzdata` in the base image as it's required by subimages. - Correctly set maintainer in Dockerfile.
14 lines
375 B
Docker
14 lines
375 B
Docker
FROM pillar_base
|
|
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
|