Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

issue in pipeline with dotnet and docker-compose

karam July 30, 2020

pipelines:

      default:

              - step:

                 services:

                       - docker

                 caches:

                       - docker

                script:

                   - curl -L https://github.com/docker/compose/releases/download/1.26.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

                  - chmod +x /usr/local/bin/docker-compose

                 - docker-compose up -d

                 - docker-compose ps

                  - ./wait-for-container.sh containerservicename

                  - docker-compose logs servicename

 

In docker file

 Step 14/22 : RUN dotnet build "project.csproj" -c Release -o /app

Error:

/usr/share/dotnet/sdk/3.1.302/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(234,5): error NETSDK1064: Package AWSSDK.S3, version 3.3.110.40 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions. [/src/ProjectApi/ProjectApi.csproj]Build FAILED.

 

 

Bolded lines are failing. I dont know why. On ubuntu machine v18 i can run docker-compose with same version, is working fine

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events