fix: adapt build script to new folder convention
This commit is contained in:
parent
f2a947e5f1
commit
ad7413a0ef
@ -18,23 +18,14 @@ buildah run "$ctr" -- bash -c "\
|
|||||||
useradd -ms /bin/fish -G secproc -u $DEV_UID -g $DEV_GID $DEV_USER
|
useradd -ms /bin/fish -G secproc -u $DEV_UID -g $DEV_GID $DEV_USER
|
||||||
"
|
"
|
||||||
|
|
||||||
# copy start script, neovim, tmux setup and ssh setup
|
buildah add "$ctr" home.tar.gz $DEV_HOME
|
||||||
buildah copy --chown $DEV_USER:$DEV_USER "$ctr" ./home/. $DEV_HOME
|
|
||||||
|
|
||||||
# configure lazyvim
|
# configure lazyvim
|
||||||
# shellcheck disable=SC2016
|
# shellcheck disable=SC2016
|
||||||
buildah run --user "$DEV_USER" "$ctr" -- fish -c '
|
buildah run --user "$DEV_USER" "$ctr" -- fish -c '
|
||||||
set -gx HOME '"$DEV_HOME"';
|
set -gx HOME '"$DEV_HOME"';
|
||||||
mkdir -p $HOME/.ssh;
|
|
||||||
ssh-keyscan -p 2222 10.88.0.1 >> $HOME/.ssh/known_hosts;
|
ssh-keyscan -p 2222 10.88.0.1 >> $HOME/.ssh/known_hosts;
|
||||||
ssh-keyscan -p 22 github.com >> $HOME/.ssh/known_hosts;
|
ssh-keyscan -p 22 github.com >> $HOME/.ssh/known_hosts;
|
||||||
fisher install \
|
|
||||||
jorgebucaran/fisher \
|
|
||||||
pure-fish/pure \
|
|
||||||
patrickf1/fzf.fish \
|
|
||||||
jorgebucaran/autopair.fish \
|
|
||||||
gazorby/fish-abbreviation-tips \
|
|
||||||
jethrokuan/z;
|
|
||||||
'
|
'
|
||||||
|
|
||||||
# lock the files
|
# lock the files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user