Custom code-server Docker image built on top of codercom/code-server:latest, with added Python tooling.
python3,python3-pip,python3-venvjqpre-commit
ops4life/code-server:latest
docker pull ops4life/code-server:latest
docker run -it -p 8080:8080 ops4life/code-server:latestThen open http://localhost:8080 in your browser.
On first run, a config file is written to /root/.config/code-server/config.yaml inside the container with an auto-generated password. To retrieve it:
docker exec <container_id> cat /root/.config/code-server/config.yamlThe output will contain the password:
bind-addr: 0.0.0.0:8080
auth: password
password: <auto-generated>
cert: falseTo set a custom password, pass the PASSWORD environment variable:
docker run -it -p 8080:8080 -e PASSWORD=yourpassword ops4life/code-server:latestdocker build -t code-server:local .
docker run -it --rm -p 8080:8080 code-server:localPushes to main automatically build and push to Docker Hub:
ops4life/code-server:latestops4life/code-server:<git-sha>
A scheduled build runs every Monday at 06:00 UTC to pick up upstream base image updates.
Workflow: .github/workflows/docker-publish.yml
Required secrets: DOCKER_USERNAME, DOCKER_PASSWORD