Subj : Python 2.17.18 Docker Compose build script To : All From : Analog Date : Mon Sep 21 2020 20:06:40 For those interested, here's how I build Python in Docker: [dockerfile snippet] FROM ubuntu:18.04 RUN apt-get update -y RUN TZ=America/Denver\ DEBIAN_FRONTEND=noninteractive\ apt-get install -y wget\ ca-certificates\ tar\ rar\ wget\ build-essential\ checkinstall\ libreadline-gplv2-dev\ libncursesw5-dev\ libssl-dev\ libsqlite3-dev\ tk-dev\ libgdbm-dev\ libc6-dev\ libbz2-dev\ sudo RUN mkdir -p /usr/src WORKDIR /usr/src RUN wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz RUN tar xzf Python-2.7.18.tgz WORKDIR /usr/src/Python-2.7.18 RUN ./configure --enable-optimizations --enable-unicode=ucs4 --enable-shared --prefix=/usr --with-ensurepip=install RUN make -j build_all && make install RUN ldconfig [end snippet] Then in my main Dockerfile for the BBS I use this: [Mystic Dockerfile snip] FROM python:2.7.18P ENV PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/:/usr/lib/python2.7/dist-packages/:/u sr/local/lib/python2.7/dist-packages/ [end snip] If you don't want to use Docker, you can use this a step by step for building Python 2.7.18 on Ubuntu 18.04 Cheers, Analog |20|15ÚÄ|16|08´ |08De|07ad|15be|07a|08tz b|07b|15s |08ÀÄÙÃÄ¿ |08:>.|07A|08rk |0710|08:|07101|08/|0714|08. |04þ |08À|20|15Ä|16|08Ù |08:>.|10A|02gn |1046|08:|101|08/|10123|08. |04A|07n|15al|07o|08g |08:>.|12F|04sx |1221|08:|122|08/|12123|08. |04.|08dPR|04. |08:>.|15S|07ci |1577|08:|151|08/|15131|08. |04°±°|08±ÛÛÜÝ|08:>.|11T|03qw |111337|08:|113|08/|1113|08. --- Mystic BBS v1.12 A46 2020/08/06 (Linux/64) * Origin: deadbeatz.org (21:2/123) .