feat(base): move nvim config to /opt/nvim with ssh remote
Build containers / build (push) Successful in 2m12s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-08 12:36:11 +01:00
1 parent 2a509299cd
commit fe5891b4f5
1 file changed
+5 -3
+5 -3
View File
@@ -36,14 +36,16 @@ ENV EDITOR=nvim \
# === setup user ===
RUN useradd -ms /bin/bash user && \
echo 'user ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/user && \
mkdir -p /run/user/1000 && \
chown user:user /run/user/1000
mkdir -p /run/user/1000 /opt/nvim && \
chown user:user /run/user/1000 /opt/nvim
USER user
WORKDIR /home/user
RUN mkdir -p .config .local .cache && \
git clone https://git.plabble.org/Job79/neovim-config.git .config/nvim
git clone https://git.plabble.org/Job79/neovim-config.git /opt/nvim && \
git -C /opt/nvim remote set-url origin ssh://git@git.plabble.org:2222/Job79/neovim-config.git && \
ln -s /opt/nvim .config/nvim
COPY --chown=user:user ./config/git .config/git/config