simplified Dockerfile, added workflow definition

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-01-04 14:48:37 +01:00
parent f892bbc6f8
commit 44acdcdc8a
2 changed files with 76 additions and 2 deletions

View File

@@ -1,6 +1,8 @@
FROM alpine AS build
RUN apk update \
RUN apk add bash clang-extra-tools git openjdk21-jre
RUN apk update
RUN apk add openjdk21-jre
# previous line is shared with next step
RUN apk add git
ADD . /LightOidc
WORKDIR /LightOidc
RUN ./gradlew jar && mv *app/build/libs/*.jar /lightoidc.jar