Skip to content

Commit 369ab50

Browse files
committed
claude it up
1 parent 88a5663 commit 369ab50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.devcontainer/images/uaa/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ RUN yq e '.oauth.clients.admin.authorities += ",password.write"' -i /uaa.yml \
2121
&& yq e '.issuer.uri = "http://localhost:8080"' -i /uaa.yml \
2222
&& yq e '.uaa.url = .issuer.uri' -i /uaa.yml
2323

24-
# Runtime image
25-
FROM tomcat:10-jdk21
24+
# Runtime image - lightweight JRE instead of Tomcat
25+
FROM sapmachine:21-jre-headless-ubuntu-jammy
2626

2727
# Copy config file from yq image
2828
COPY --from=yq /uaa.yml /uaa.yml
@@ -41,4 +41,4 @@ ENV SPRING_PROFILES_ACTIVE=default
4141
EXPOSE 8080
4242

4343
# Run as Spring Boot application
44-
CMD java $JAVA_OPTS -jar /app/uaa.jar
44+
CMD ["sh", "-c", "java $JAVA_OPTS -jar /app/uaa.jar"]

0 commit comments

Comments
 (0)