Hi all, I’ve had a project which was all working completely fine, but then I restructured the project to add in unit tests and moved all the main source and the docker file down a level in the repository.
Once I’d resolved the new paths, I’m now getting errors which sound like certificate errors when nuget is trying to pull the dependecies:
Step 9/18 : RUN dotnet restore "SynoAI.csproj" ---> Running in c0d0e881f60b Determining projects to restore... /src/SynoAI.csproj : error NU3028: Package 'Microsoft.OpenApi 1.2.3' from source 'https://api.nuget.org/v3/index.json': The author primary signature's timestamp found a chain building issue: UntrustedRoot: self signed certificate in certificate chain /src/SynoAI.csproj : error NU3037: Package 'Microsoft.OpenApi 1.2.3' from source 'https://api.nuget.org/v3/index.json': The author primary signature validity period has expired.
I can build and run the docker image locally, it just seems to break when building inside DockerHub.
My “latest” tag pulls from the “main” branch. Dockerfile location is set to Dockerfile and the path is set to /SynoAI/.
I’ve tried deleting the latest tag and recreating it, but it made no difference. I also tried disabling build caching and got the same issue.