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 --chown $DEV_USER:$DEV_USER "$ctr" ./home/. $DEV_HOME
|
||||||
buildah copy "$ctr" ssh $SECURE/ssh
|
buildah copy "$ctr" ssh $SECURE/ssh
|
||||||
|
|
||||||
# zsh and tmux config (immutable)
|
# configure lazyvim
|
||||||
buildah run "$ctr" -- chown -R $DEV_USER:$DEV_USER $DEV_HOME
|
buildah run --user $DEV_USER "$ctr" -- bash -c "\
|
||||||
buildah run --user $DEV_USER "$ctr" -- nvim --headless "+Lazy! sync" +qa
|
nvim --headless \"+Lazy! sync\" +qa && sleep 1 && \
|
||||||
buildah run --user $DEV_USER "$ctr" -- nvim --headless "+Lazy! sync" +qa
|
nvim --headless \"+Lazy! sync\" +qa && sleep 1 && \
|
||||||
buildah run --user $DEV_USER "$ctr" -- nvim --headless "+Lazy! sync" +qa
|
nvim --headless \"+Lazy! sync\" +qa
|
||||||
|
"
|
||||||
|
|
||||||
# lock the files
|
# lock the files
|
||||||
buildah run "$ctr" -- bash -c "\
|
buildah run "$ctr" -- bash -c "\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user