🚧 Install certs
This commit is contained in:
parent
c3acdf3fab
commit
bf76acb0e0
@ -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/
|
||||||
|
|||||||
@ -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)));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user