• Python 2.17.18 Docker Compose build script

    From Analog@21:2/123 to All on Mon Sep 21 20:06:40 2020
    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)
  • From Rick Smith@21:1/190.1 to Analog on Tue Sep 22 12:44:48 2020
    Greetings Analog!

    21 Sep 20 20:06, you wrote to All about an urgent matter!:

    |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.

    does it replace .16 I think it is? I tried getting up to 18 and it seemed to install but there were some scripts that mystic still couldnt handle, anipause which is a simple script but wouldnt do it, kept getting a mismatch error of somekind...



    ----
    Regards,


    Rick Smith (Nitro)

    ... TAGLINE A bad day BBSing is better than a good day at school!
    --- GoldED+/LNX 1.1.5-b20180707
    * Origin: ----> Abacus Sysop Point --->>>>bbs.abon.us:2323 (21:1/190.1)
  • From Analog@21:2/123 to Rick Smith on Tue Sep 22 21:13:14 2020
    does it replace .16 I think it is? I tried getting up to 18 and it
    seemed to install but there were some scripts that mystic still couldnt handle, anipause which is a simple script but wouldnt do it, kept
    getting a mismatch error of somekind...

    Not my mod so I wouldn't know. Everything that works in 2.7.16 *should* work
    in .18 since it's a "PostRelease" or a minor bug fix of minor version 2.7.

    |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)