Adding python3 to container



Is it possible to add python3 into container?

mediawiki’s syntaxhighlight extension needs it.




Sounds like a good one.

Can you test this out locally and see if mediawiki works fine or if other python3 libs are required.
In best-case can you provide an autostart script with the commands to install all the required software.


So far I cannot get though the proxy:

E: Failed to fetch Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)

I tried configuring /etc/environment, /etc/apt/apt.conf - nothing helps.


OK - I did this:

#!/usr/bin/env bash

export http_proxy=""
export https_proxy=""

apt update
apt install python3.5

if [ ! -L $PYTHON3 ]; then
	ln -s /usr/bin/python3.5 $PYTHON3

and it works fine :slight_smile:
I have Mediawiki working fine with SyntaxExtension


OK, thanks for the code snippet. I will let you know once Python 3 is bundled by default.