fixed Dockerfile: build system changed from groovy to kotlin

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2024-12-19 09:10:59 +01:00
parent 5d70e687f6
commit 0f30f44ea0

View File

@@ -5,7 +5,7 @@ RUN apk add bash clang-extra-tools git
ADD . /LightOidc
WORKDIR /LightOidc
RUN VERSION=$(clang-format --version | sed -e "s/.* //g") \
&& sed -i "s|clangFormat(.*).style|clangFormat('$VERSION').style|g" build.gradle \
&& sed -i "s|clangFormat(.*).style|clangFormat(\"$VERSION\").style|g" build.gradle.kts \
&& ./gradlew jar \
&& mv *app/build/libs/*.jar /lightoidc.jar