Moved back to debian base image; moved docker support scripts; updated language server java entry to not be appimage aligned in arg format

This commit is contained in:
2025-11-26 00:31:15 -06:00
parent 4c2a3b6fe7
commit 51a0c4a677
7 changed files with 158 additions and 65 deletions

31
Docker/scripts/start.sh Executable file
View File

@@ -0,0 +1,31 @@
#!/bin/bash
# . CONFIG.sh
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
# set -o errunset ## To exit if a variable is referenced but not set
function main() {
SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )"
cd "${SCRIPTPATH}"
echo "Working Dir: " $(pwd)
ID=$(podman ps --filter "ancestor=localhost/newton-lsp:latest" --format "{{.ID}}")
if [ "${ID}" != "" ]; then
echo "Is up..."
exit 1
fi
podman run \
-p 9999:9999 \
-e HOME="${HOME}" \
-e MAVEN_OPTS="-Duser.home=${HOME}" \
-e JAVA_TOOL_OPTIONS="-Duser.home=${HOME}" \
-e JDTLS_CONFIG_PATH="${HOME}/.config/lsps/jdtls" \
-e JDTLS_DATA_PATH="${JDTLS_CONFIG_PATH}/data" \
-v "${HOME}":"${HOME}" \
newton-lsp:latest
}
main $@;