add7c1b500
- Standardize built-in tool users for shared writable profile mounts - Mount canonical non-Git profile sources across compatible instances - Report restart-required outcomes and guard active profile deletion - Surface restart feedback in config profile editing Quality gates: frontend build passed; backend py_compile and LSP passed. Skipped: backend pytest/Ruff unavailable; Docker/manual checks not approved.
32 lines
707 B
Docker
32 lines
707 B
Docker
# VS Code in browser
|
|
FROM lscr.io/linuxserver/code-server:latest
|
|
|
|
USER root
|
|
|
|
# Install additional tools
|
|
RUN apt-get update && apt-get install -y \
|
|
git \
|
|
neovim \
|
|
ranger \
|
|
tmux \
|
|
htop \
|
|
tree \
|
|
jq \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install Node.js
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
|
&& apt-get install -y nodejs \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Set up git
|
|
RUN git config --global init.defaultBranch main
|
|
|
|
# The LinuxServer entrypoint maps abc to this shared UID/GID before starting
|
|
# code-server, so writable Config Profile mounts are compatible with other
|
|
# built-in tool containers.
|
|
ENV PUID=1000 \
|
|
PGID=1000
|
|
USER abc
|
|
|
|
EXPOSE 8443 |