diff --git a/Dockerfile b/Dockerfile index 679beed..38fe690 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM quay.io/linuxserver.io/code-server:4.8.3 RUN \ - echo "**** install starshipt prompt ****" && \ + echo "**** install starship prompt ****" && \ curl -sS https://starship.rs/install.sh | sh -s -- -f && \ echo "eval \"\$(starship init bash)\"" >> /etc/bash.bashrc diff --git a/README.md b/README.md index e6da7c1..42ed4bf 100644 --- a/README.md +++ b/README.md @@ -13,19 +13,61 @@

- Container + Code-Server as Container 📦

- + This project optimizes the Code-Server container image from linuxserver.io.

- - Master Branch Build Status + + Master Branch Build Status

## :book: General -> :bulb: tbd... +The container is based on the latest `linuxserver/code-server` image. + +### 🚀 Starship prompt + +The [Starship](starship.rs) 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](./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 + diff --git a/assets/social-logo.png b/assets/social-logo.png deleted file mode 100644 index 21e3830..0000000 Binary files a/assets/social-logo.png and /dev/null differ diff --git a/assets/social-logo.png/social-logo.png b/assets/social-logo.png/social-logo.png new file mode 100644 index 0000000..5039e9e Binary files /dev/null and b/assets/social-logo.png/social-logo.png differ