feat(buildah): reduce run statements
This commit is contained in:
parent
e9303e2a98
commit
71d675c91c
@ -25,11 +25,12 @@ buildah run "$ctr" -- bash -c "\
|
||||
buildah copy --chown $DEV_USER:$DEV_USER "$ctr" ./home/. $DEV_HOME
|
||||
buildah copy "$ctr" ssh $SECURE/ssh
|
||||
|
||||
# zsh and tmux config (immutable)
|
||||
buildah run "$ctr" -- chown -R $DEV_USER:$DEV_USER $DEV_HOME
|
||||
buildah run --user $DEV_USER "$ctr" -- nvim --headless "+Lazy! sync" +qa
|
||||
buildah run --user $DEV_USER "$ctr" -- nvim --headless "+Lazy! sync" +qa
|
||||
buildah run --user $DEV_USER "$ctr" -- nvim --headless "+Lazy! sync" +qa
|
||||
# configure lazyvim
|
||||
buildah run --user $DEV_USER "$ctr" -- bash -c "\
|
||||
nvim --headless \"+Lazy! sync\" +qa && sleep 1 && \
|
||||
nvim --headless \"+Lazy! sync\" +qa && sleep 1 && \
|
||||
nvim --headless \"+Lazy! sync\" +qa
|
||||
"
|
||||
|
||||
# lock the files
|
||||
buildah run "$ctr" -- bash -c "\
|
||||
|
Loading…
x
Reference in New Issue
Block a user