Adding python3 to container

Hell-o!

Is it possible to add python3 into container?

mediawiki’s syntaxhighlight extension needs it.

regards

Michał

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 http://deb.debian.org/debian/dists/stretch/InRelease 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="http://172.18.0.1:3128"
export https_proxy="http://172.18.0.1:3128"

apt update
apt install python3.5

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

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.

I would like to hear if python3 is shipped with devilbox. Thanks