feat(buildah): adopt copy statements to new local file structure
This commit is contained in:
parent
0ba2686971
commit
e9303e2a98
@ -20,13 +20,9 @@ buildah run "$ctr" -- bash -c "\
|
|||||||
mkdir -p $SECURE && chmod -R 500 $SECURE && \
|
mkdir -p $SECURE && chmod -R 500 $SECURE && \
|
||||||
mkdir /app && chmod 700 /app && chown $DEV_USER:$DEV_USER /app
|
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
|
buildah copy "$ctr" ssh $SECURE/ssh
|
||||||
|
|
||||||
# zsh and tmux config (immutable)
|
# zsh and tmux config (immutable)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user