mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-14 10:18:16 +00:00
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.
This commit is contained in:
1 parent
6924ba0424
commit
ea46992e64
2 files changed
+5
-5
No files matched your search
@@ -3,9 +3,9 @@
|
|||||||
[VS Code in the browser](https://github.com/linuxserver/docker-code-server),
|
[VS Code in the browser](https://github.com/linuxserver/docker-code-server),
|
||||||
from the LinuxServer image, set up as a full remote dev box.
|
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
|
Comes with Go, Node.js 24, Python 3, and zsh via LinuxServer mods, plus `gh`,
|
||||||
`gh`, `git`, `ffmpeg`, `imagemagick`, and other CLI tools through
|
`git`, `glab`, `unzip` and `zip` through `INSTALL_PACKAGES`. Git
|
||||||
`INSTALL_PACKAGES`. Git author/committer identity is injected from `.env`.
|
author/committer identity is injected from `.env`.
|
||||||
|
|
||||||
## Docker access
|
## Docker access
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ services:
|
|||||||
- HOST=${SERVICE_HOSTNAME}
|
- HOST=${SERVICE_HOSTNAME}
|
||||||
- DEFAULT_WORKSPACE=/config/workspace
|
- DEFAULT_WORKSPACE=/config/workspace
|
||||||
- PWA_APPNAME=code-server
|
- 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'
|
- '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=apache2-utils|bfs|ffmpeg|gh|git|imagemagick|librsvg2-bin|lsof|psmisc|ugrep|unzip|zip
|
- INSTALL_PACKAGES=gh|git|glab|unzip|zip
|
||||||
- NODEJS_MOD_VERSION=24
|
- NODEJS_MOD_VERSION=24
|
||||||
- PASSWORD=${PASSWORD}
|
- PASSWORD=${PASSWORD}
|
||||||
- SUDO_PASSWORD=${PASSWORD}
|
- SUDO_PASSWORD=${PASSWORD}
|
||||||
|
|||||||
Reference in new issue
Block a user