generated from Templates/Baseline
Arkanum - Code-Server container optimized for daily use.
https://arkanum.dev
OCram85
e6b0a6f797
All checks were successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
|
||
---|---|---|
.gitea | ||
.vscode | ||
.woodpecker | ||
assets | ||
FiraCode | ||
.dockerignore | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitlocal | ||
Dockerfile | ||
gitconfig-system | ||
install-devruntime | ||
install-devruntime-completion | ||
README.md | ||
starship.toml |
Code-Server as Container 📦
This project optimizes the Code-Server container image from linuxserver.io.
📖 General
The container is based on the latest linuxserver/code-server
image.
🚀 Starship prompt
The Starship prompt is added an enabled as default. Default config uses Emojis and FiraCode icons.
🔱 git config
Adds default system config with:
- enabled plain credential store for remote.
- enabled bash completion for git command.
- added git log helper
lg1
+lg2
💡 See gitconfig-system for details.
🧙 Added install-devruntime
helper script
Added install-devruntime
to help installing common runtime in container.
This helps reducing the image size.
install-devruntime is used to install optional runtimes for developing in a
code-server container environment.
Syntax: install-devruntime RUNTIME ...
RUNTIME [dotnet|golang|nodejs|powershell]
dotnet Installs latest LTS dotnet core sdk + runtime.
golang Installs golang 1.19.3.
nodejs Installs latest NodeJs LTS version.
powershell Installs latest PowerShell LTS version.
-h Prints this help messagee.
disablemotd Disables hint in new bash terminal
setcode Sets VS Code user setting with basic (Fira Code)
Example 1: install-devruntime dotnet
Example 2: install devruntime golang nodejs
💳 Credits
-
Photo by frank mckenna on Unsplash
-
A huge thanks to tuanpham for sharing his code-server font patch.