mirror of
https://github.com/tiennm99/composes.git
synced 2026-10-14 20:17:07 +00:00
feat(paseo): preinstall nano and set the git identity from the environment
GIT_NAME and GIT_EMAIL expand into the four GIT_AUTHOR_*/GIT_COMMITTER_* variables, the same shape code-server already uses. Passing the identity as environment rather than running `git config` means agents and terminals commit correctly with no setup step, and it does not depend on ~/.gitconfig surviving in the /home/paseo volume.
This commit is contained in:
1 parent
cb1d38f147
commit
d6f7eb46cd
4 files changed
+13
-2
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ FROM ghcr.io/getpaseo/paseo:latest
|
||||
# not, despite Debian's base-passwd shipping an (empty) sudo group.
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
less jq unzip zip lsof psmisc ugrep bfs zsh sudo \
|
||||
less nano jq unzip zip lsof psmisc ugrep bfs zsh sudo \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& usermod -aG sudo paseo
|
||||
|
||||
|
||||
Reference in new issue
Block a user