Add anonymous OOBE gateway grants
CI / verify (push) Has been cancelled
CI / publish (push) Has been cancelled

Provide App Attest-bound, one-time onboarding AI access without creating accounts, with durable replay protection and production deployment safeguards.
This commit is contained in:
Rocky
2026-08-21 22:55:46 +08:00
parent edd0d9feca
commit 0d236f57fb
32 changed files with 2202 additions and 61 deletions
+2
View File
@@ -10,6 +10,7 @@ RUN --mount=type=cache,target=/home/gradle/.gradle,uid=1000,gid=1000 \
./gradlew --no-daemon --no-configuration-cache --stacktrace installDist
FROM eclipse-temurin:21-jre-alpine
ARG APP_BUILD_SHA=unknown
RUN addgroup -S -g 10001 app \
&& adduser -S -D -H -u 10001 -G app -h /app app
WORKDIR /app
@@ -17,6 +18,7 @@ WORKDIR /app
COPY --from=build --chown=app:app /workspace/build/install/OSGAccountServer/ /app/
ENV HOME=/tmp \
APP_BUILD_SHA=$APP_BUILD_SHA \
JAVA_TOOL_OPTIONS="-Djava.io.tmpdir=/tmp -XX:+UseG1GC -XX:MaxGCPauseMillis=100 -XX:MaxRAMPercentage=75.0 -XX:+ExitOnOutOfMemoryError"
USER 10001:10001