Improved attribution; re-added sub licences since unsure how this repackage/repo needs to comply otherwise

This commit is contained in:
2026-01-05 13:00:35 -06:00
parent 48deb314a5
commit 38951379a4
14 changed files with 272 additions and 33 deletions

8
Docker/scripts/CONFIG.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# 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
CONTAINER="newton-lsp"

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# . CONFIG.sh
. CONFIG.sh
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
@@ -8,7 +8,7 @@
function main() {
SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )"
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd "${SCRIPTPATH}"
echo "Working Dir: " $(pwd)

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# . CONFIG.sh
. CONFIG.sh
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
@@ -8,11 +8,11 @@
function main() {
SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )"
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd "${SCRIPTPATH}"
echo "Working Dir: " $(pwd)
ID=$(podman ps --filter "ancestor=localhost/newton-lsp:latest" --format "{{.ID}}")
ID=$(podman ps --filter "ancestor=localhost/${CONTAINER}:latest" --format "{{.ID}}")
if [ "${ID}" == "" ]; then
echo "Is not up..."
exit 1

View File

@@ -8,7 +8,7 @@
function main() {
SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )"
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd "${SCRIPTPATH}"
echo "Working Dir: " $(pwd)
@@ -20,6 +20,8 @@ function main() {
podman machine stop
podman machine reset
podman machine init
podman machine set --memory 4096
# podman machine set --cpus 2 --memory 4096
podman machine start
}
main $@;

View File

@@ -8,7 +8,7 @@
function main() {
SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )"
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd "${SCRIPTPATH}"
echo "Working Dir: " $(pwd)

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# . CONFIG.sh
. CONFIG.sh
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
@@ -8,11 +8,11 @@
function main() {
SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )"
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd "${SCRIPTPATH}"
echo "Working Dir: " $(pwd)
ID=$(podman ps --filter "ancestor=localhost/newton-lsp:latest" --format "{{.ID}}")
ID=$(podman ps --filter "ancestor=localhost/${CONTAINER}:latest" --format "{{.ID}}")
if [ "${ID}" != "" ]; then
echo "Is up..."
exit 1
@@ -32,6 +32,6 @@ function main() {
-e JDTLS_DATA_PATH="${JDTLS_CONFIG_PATH}/data" \
-v "${CODE_HOST}":"${CODE_CONTAINER}" \
-v "${CONFIG_HOST}":"${CONFIG_CONTAINER}" \
newton-lsp:latest
"${CONTAINER}:latest"
}
main $@;

View File

@@ -1,6 +1,6 @@
#!/bin/bash
# . CONFIG.sh
. CONFIG.sh
# set -o xtrace ## To debug scripts
# set -o errexit ## To exit on error
@@ -8,11 +8,11 @@
function main() {
SCRIPTPATH="$( cd "$(dirname "")" >/dev/null 2>&1 ; pwd -P )"
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
cd "${SCRIPTPATH}"
echo "Working Dir: " $(pwd)
ID=$(podman ps --filter "ancestor=localhost/newton-lsp:latest" --format "{{.ID}}")
ID=$(podman ps --filter "ancestor=localhost/${CONTAINER}:latest" --format "{{.ID}}")
if [ "${ID}" == "" ]; then
echo "Is not up..."
exit 1