Coder Server on Docker - Where is Python Interpreter?

Hi there,

I’m pretty new to docker and started building a media server using docker for the last week.
I came across the Coder Server which seems very cool and I’ve installed it as a container.

Now I’m wondering how to select Python interpreter for instance? I assumed it maybe used a Linux
base and python would be pre-installed in the image or I’m mistaken. How would I install python
inside the code server container to be able to select it as a interpreter.

Python is not included. See here on how to customize containers: https://blog.linuxserver.io/2019/09/14/customizing-our-containers/

I’ve started using Code-Server with Openshift (OKD). It works great. I wrote a script that does a git clone for a repo I setup with python and nodejs install scripts depending on which environment I want to code for.

    #!/bin/bash
    sudo -E apt -y install python3-minimal python3-pip
    sudo ln -s /usr/bin/python3 /usr/bin/python
    sudo ln -s /usr/bin/pip3 /usr/bin/pip
    pip3 install django
    #!/bin/bash
    sudo -E apt -y install nodejs npm
    sudo -E npm install -g npx
1 Like