fix(buildah): correct directory creation and reference
This commit is contained in:
parent
954cee98db
commit
30c4d9b7a8
@ -17,13 +17,13 @@ buildah run "$ctr" -- bash -c "\
|
|||||||
useradd -ms /bin/zsh $DEV_USER && \
|
useradd -ms /bin/zsh $DEV_USER && \
|
||||||
useradd --system --no-create-home --shell /usr/sbin/nologin viewer && \
|
useradd --system --no-create-home --shell /usr/sbin/nologin viewer && \
|
||||||
usermod -aG $DEV_USER viewer && mkdir -p /tmp/tmux-shared && \
|
usermod -aG $DEV_USER viewer && mkdir -p /tmp/tmux-shared && \
|
||||||
mkdir -p $DEV_HOME/.gnupg
|
mkdir -p $DEV_HOME/.gnupg && mkdir -p $SECURE
|
||||||
"
|
"
|
||||||
# copy start script
|
# copy start script
|
||||||
buildah copy "$ctr" start.sh /start.sh
|
buildah copy "$ctr" start.sh /start.sh
|
||||||
|
|
||||||
# copy ssh setup
|
# copy ssh setup
|
||||||
buildah copy "$ctr" ssh /"$SECURE"/ssh
|
buildah copy "$ctr" ssh "$SECURE"/ssh
|
||||||
|
|
||||||
# copy zshrc, neovim and tmux setup
|
# copy zshrc, neovim and tmux setup
|
||||||
buildah copy "$ctr" zshrc $DEV_HOME/.zshrc
|
buildah copy "$ctr" zshrc $DEV_HOME/.zshrc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user