feat(buildah): adapt buildah script to use global ssh config
This commit is contained in:
parent
fd9e672d28
commit
22196ab0c3
@ -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 "\
|
||||
|
Loading…
x
Reference in New Issue
Block a user