NoIssue: Fix for build, run and publish

This commit is contained in:
2026-02-01 21:15:21 +01:00
parent a2fae04892
commit 8f907324ca
7 changed files with 37 additions and 30 deletions

View File

@@ -13,13 +13,14 @@ export VERSION_LONG=${VERSION}_${GITHASH}
# Build this artifact
echo "Building 'NenjimHub v${VERSION_LONG}'..."
./gradlew -Pversion=$VERSION jar prepareDockerLibs
./gradlew -Pversion=$VERSION jar prepareLibs
# Prepare container dependencies
mkdir -p build/docker/conf
mkdir -p build/docker/{conf,libs}
cd build/docker
cp ../../src/main/docker/start.sh start.sh
cp ../libs/hubd-impl-ref-*.jar libs
cp ../../conf/* conf
cp ../../src/main/docker/run.sh run.sh
cp ../libs/*.jar libs/
cp ../../conf/* conf/
sed -e "s|_VERSION_|${VERSION}|g" \
-e "s|_JREVERSION_|${JREVERSION}|g" \
../../src/main/docker/Dockerfile_template > Dockerfile