🚧 Install certs

This commit is contained in:
Andreas Dinauer 2026-03-15 11:07:48 +01:00
parent c3acdf3fab
commit bf76acb0e0
2 changed files with 5 additions and 2 deletions

View File

@ -80,11 +80,13 @@
# You can find more information about the UBI base runtime images and their configuration here: # You can find more information about the UBI base runtime images and their configuration here:
# https://rh-openjdk.github.io/redhat-openjdk-containers/ # https://rh-openjdk.github.io/redhat-openjdk-containers/
### ###
FROM registry.access.redhat.com/ubi9/openjdk-25:1.24 FROM registry.access.redhat.com/ubi9/openjdk-25-runtime:1.24
USER root
RUN microdnf install -y ca-certificates && microdnf clean all
ENV LANGUAGE='en_US:en' ENV LANGUAGE='en_US:en'
# We make four distinct layers so if there are application changes the library layers can be re-used # We make four distinct layers so if there are application changes the library layers can be re-used
COPY --chown=185 target/quarkus-app/lib/ /deployments/lib/ COPY --chown=185 target/quarkus-app/lib/ /deployments/lib/
COPY --chown=185 target/quarkus-app/*.jar /deployments/ COPY --chown=185 target/quarkus-app/*.jar /deployments/

View File

@ -59,6 +59,7 @@ public class ProxyResource
if (routeOptional.isPresent()) if (routeOptional.isPresent())
{ {
ProxyRoute route = routeOptional.get(); ProxyRoute route = routeOptional.get();
LOG.info("Matched route with target '{}'", route.target());
try try
{ {
HttpResponse<byte[]> response = forward(context.request().method(), extractSession(context.request().cookies()), route.target(), concat(dropRoute(route.segments(), requestSegments))); HttpResponse<byte[]> response = forward(context.request().method(), extractSession(context.request().cookies()), route.target(), concat(dropRoute(route.segments(), requestSegments)));