From fcda25b36b479a3eb4cfeea046af8dacd3a10431 Mon Sep 17 00:00:00 2001 From: yeti Date: Fri, 16 May 2025 14:08:32 +0100 Subject: [PATCH] fix(build): remove /opt/secure directory from image builder script --- build-workspace.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build-workspace.sh b/build-workspace.sh index d70cb6d..3a70282 100755 --- a/build-workspace.sh +++ b/build-workspace.sh @@ -6,7 +6,6 @@ IMG_NAME="analytics-backend-workspace" DEV_USER=devuser DEV_UID=1001 DEV_GID=1001 -SECURE=/opt/secure DEV_HOME=/home/$DEV_USER ctr=$(buildah from archlinux) @@ -16,12 +15,11 @@ buildah run "$ctr" -- bash -c "\ nodejs python podman fzf fd ripgrep jdk-openjdk fisher yazi less buildah \ lazygit luarocks python-pynvim npm bash-completion tree-sitter-cli kitty-terminfo \ lua51 openssh && pacman -Scc --noconfirm && groupadd secproc && groupadd -g $DEV_GID $DEV_USER && \ - useradd -ms /bin/fish -G secproc -u $DEV_UID -g $DEV_GID $DEV_USER && mkdir -m 511 -p $SECURE + useradd -ms /bin/fish -G secproc -u $DEV_UID -g $DEV_GID $DEV_USER " # copy start script, neovim, tmux setup and ssh setup buildah copy --chown $DEV_USER:$DEV_USER "$ctr" ./home/. $DEV_HOME -buildah copy "$ctr" 00-allow-git.conf /etc/ssh/ssh_config.d/ # configure lazyvim # shellcheck disable=SC2016