diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | docker/arch-code-server/archlinux-setup-user.bash | 16 |
2 files changed, 10 insertions, 8 deletions
@@ -1,6 +1,4 @@ -config Caddyfile docker-compose.yaml mailserver.env data -setup.sh diff --git a/docker/arch-code-server/archlinux-setup-user.bash b/docker/arch-code-server/archlinux-setup-user.bash index 2b39bd2..3a72bb3 100755 --- a/docker/arch-code-server/archlinux-setup-user.bash +++ b/docker/arch-code-server/archlinux-setup-user.bash @@ -6,19 +6,23 @@ if [ "${CRUPEST_IN_DOCKER}" != "true" ]; then exit 1 fi -cd ~ || exit 1 +# don't allow any error +set -e -mkdir data +cd ~ mkdir aur -cd aur || exit 1 +cd aur # install all aur packages -for aur_package in ${CRUPEST_AUR_PACKAGES} ; do +for aur_package in code-server ${CRUPEST_AUR_PACKAGES} ; do echo "Installing ${aur_package} from AUR..." git clone "https://aur.archlinux.org/${aur_package}.git" --depth 1 - pushd "${aur_package}" || exit 1 + pushd "${aur_package}" makepkg -sr --noconfirm makepkg --packagelist | sudo pacman -U --noconfirm - - popd || exit 1 + popd done + +# finnally, test code-server +code-server --version |