Browse Source

fixed Dockerfile: build system changed from groovy to kotlin

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
main
Stephan Richter 1 month ago
parent
commit
0f30f44ea0
  1. 2
      Dockerfile

2
Dockerfile

@ -5,7 +5,7 @@ RUN apk add bash clang-extra-tools git @@ -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

Loading…
Cancel
Save