skip to Main Content

Spring yaml property java.util.LinkedHashMap cannot be cast to java.lang.String – Docker

I try to pass Docker env variable in my Spring boot application.yml like this: security: saml2: relyingparty: registration: my-saml: signing: credentials: - private-key-location: classpath:HARD_PATH_TO_KEY certificate-location: classpath:HARD_PATH_TO_CERT identityprovider: verification.credentials: - certificate-location: classpath:HARD_PATH_TO_CERT entity-id: MY_ID singlesignon: url: {{saml.ip.singlesignon.url}} sign-request: true But when…

VIEW QUESTION

Docker multistage build doesn't pass arguments to second stage

I have dockerbuild file that contains from 2 stages ARG DOTNET_VERSION=net48 ARG CONFIGURATION=Release FROM mcr.microsoft.com/dotnet/framework/sdk:4.8 AS build-env ARG DOTNET_VERSION ARG CONFIGURATION RUN echo .Net version: $env:DOTNET_VERSION FROM mcr.microsoft.com/windows/nanoserver:1809 ARG DOTNET_VERSION RUN echo .Net version: $env:DOTNET_VERSION I start it using next…

VIEW QUESTION
Back To Top
Search