From ea46992e6419761a1cccffec396fb4b9bfcc1f52 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Fri, 18 Sep 2026 10:47:46 +0700 Subject: [PATCH] chore(code-server): drop the pnpm mod and trim installed packages pnpm is not used anywhere -- npm is the package manager everywhere -- so the mod that installs it is dead weight on every container start. INSTALL_PACKAGES loses apache2-utils, bfs, ffmpeg, imagemagick, librsvg2-bin, lsof, psmisc and ugrep, and gains glab. Each entry is re-resolved by apt on every start, so the list is kept to what is actually reached for. --- code-server/README.md | 6 +++--- code-server/compose.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code-server/README.md b/code-server/README.md index aa63fc3..6ae9f29 100644 --- a/code-server/README.md +++ b/code-server/README.md @@ -3,9 +3,9 @@ [VS Code in the browser](https://github.com/linuxserver/docker-code-server), from the LinuxServer image, set up as a full remote dev box. -Comes with Go, Node.js 24, Python 3, pnpm, and zsh via LinuxServer mods, plus -`gh`, `git`, `ffmpeg`, `imagemagick`, and other CLI tools through -`INSTALL_PACKAGES`. Git author/committer identity is injected from `.env`. +Comes with Go, Node.js 24, Python 3, and zsh via LinuxServer mods, plus `gh`, +`git`, `glab`, `unzip` and `zip` through `INSTALL_PACKAGES`. Git +author/committer identity is injected from `.env`. ## Docker access diff --git a/code-server/compose.yml b/code-server/compose.yml index c7cd642..307d99b 100644 --- a/code-server/compose.yml +++ b/code-server/compose.yml @@ -10,8 +10,8 @@ services: - HOST=${SERVICE_HOSTNAME} - DEFAULT_WORKSPACE=/config/workspace - PWA_APPNAME=code-server - - 'DOCKER_MODS=linuxserver/mods:universal-package-install|linuxserver/mods:universal-docker|linuxserver/mods:code-server-golang|linuxserver/mods:code-server-nodejs|linuxserver/mods:code-server-npmglobal|linuxserver/mods:code-server-pnpm|linuxserver/mods:code-server-python3|linuxserver/mods:code-server-zsh' - - INSTALL_PACKAGES=apache2-utils|bfs|ffmpeg|gh|git|imagemagick|librsvg2-bin|lsof|psmisc|ugrep|unzip|zip + - 'DOCKER_MODS=linuxserver/mods:universal-package-install|linuxserver/mods:universal-docker|linuxserver/mods:code-server-golang|linuxserver/mods:code-server-nodejs|linuxserver/mods:code-server-npmglobal|linuxserver/mods:code-server-python3|linuxserver/mods:code-server-zsh' + - INSTALL_PACKAGES=gh|git|glab|unzip|zip - NODEJS_MOD_VERSION=24 - PASSWORD=${PASSWORD} - SUDO_PASSWORD=${PASSWORD}