feat(buildah): adopt copy statements to new local file structure

This commit is contained in:
yeti 2025-04-24 20:47:03 +01:00
parent 0ba2686971
commit e9303e2a98

View File

@ -20,13 +20,9 @@ buildah run "$ctr" -- bash -c "\
mkdir -p $SECURE && chmod -R 500 $SECURE && \
mkdir /app && chmod 700 /app && chown $DEV_USER:$DEV_USER /app
"
# copy start script
buildah copy "$ctr" start.sh $DEV_HOME/start.sh
# copy zshrc, neovim and tmux setup
buildah copy "$ctr" zshrc $DEV_HOME/.zshrc
buildah copy "$ctr" config $DEV_HOME/.config
# copy ssh setup
# 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
# zsh and tmux config (immutable)