From 22196ab0c322090a8aa2a8587a7dca764e47e99c Mon Sep 17 00:00:00 2001 From: yeti Date: Tue, 13 May 2025 08:49:55 +0100 Subject: [PATCH] feat(buildah): adapt buildah script to use global ssh config --- build-workspace.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-workspace.sh b/build-workspace.sh index a0ca9d3..b04323f 100755 --- a/build-workspace.sh +++ b/build-workspace.sh @@ -15,13 +15,13 @@ buildah run "$ctr" -- bash -c "\ pacman -Sy --noconfirm && pacman -S --noconfirm --needed base-devel neovim git zsh tmux \ nodejs python podman fzf fd ripgrep jdk-openjdk zsh-completions zsh-syntax-highlighting \ lazygit zsh-autosuggestions luarocks python-pynvim npm bash-completion tree-sitter-cli \ - lua51 && pacman -Scc --noconfirm && groupadd secproc && groupadd -g $DEV_GID $DEV_USER && \ + lua51 openssh && pacman -Scc --noconfirm && groupadd secproc && groupadd -g $DEV_GID $DEV_USER && \ useradd -ms /bin/zsh -G secproc -u $DEV_UID -g $DEV_GID $DEV_USER && mkdir -m 511 -p $SECURE " # copy start script, zshrc, neovim, tmux setup and ssh setup buildah copy --chown $DEV_USER:$DEV_USER "$ctr" ./home/. $DEV_HOME -buildah copy "$ctr" ssh $SECURE/ssh +buildah copy "$ctr" 00-allow-git.conf /etc/ssh/ssh_config.d/ # configure lazyvim buildah run --user $DEV_USER "$ctr" -- bash -c "\