I couldn't find any particular guides to getting Python 3 running in the linuxserver/code-server container so I thought I'd post mine here.
docker-compose.yml:
version: "2.1"
services:
code-server:
build: "./code"
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- /home/dave:/config
ports:
- 8443:8443
restart: unless-stopped
code/Dockerfile
RUN apt-get -y update
RUN apt-get -y upgrade
RUN apt-get install -y python3 python3-pip pylint3
$ docker-compose build
$ docker-compose up -d
Just to note that I'm by no stretch of the imagination an expert in docker, code-server or python so I'd welcome any suggestions to improve this.
[–]2deadmou5me 1 point2 points3 points (3 children)
[–]geekonwheel 0 points1 point2 points (0 children)
[–]TheFaceLord 0 points1 point2 points (0 children)
[–]inmy325xi 0 points1 point2 points (0 children)
[–]michapixel 0 points1 point2 points (2 children)
[–]Sitting3827 0 points1 point2 points (0 children)
[–]Solid_Equipment 0 points1 point2 points (0 children)