-
Notifications
You must be signed in to change notification settings - Fork 419
Description
Hello,
We are using maven docker image to build our app and deploy it as a docker image. Since 16.05.2023 we struggle with the following issue:
dockerfile:
FROM maven as app_builder --> so latest 3.9.x
{copy source files}
{copy settings.xml}
RUN mvn -s settings.xml clean package
We use MS AZURE for our jar repository. settings.xml contains its Personal Access Token auth credentials which is repo_id/token_name/token_value.
The outcome of this build is 401 Unauthorized once trying to download libs from the repo.
This is not the case when I am using:
FROM maven:3.8 as app_builder
or earlier.
This is not the case also when I am using my personal active directory credentials instead of PAT.
Building command:
podman build -t app:v1 -f ./Dockerfile
CentoOS 8 (curl is still <8)
podman v: 4.3.1
java 17.0.2
What might be the case here?
Is it related to the previous vulnerability: https://dso.docker.com/cve/CVE-2023-27536 I assume it is resolved in maven 3.9