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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

issue in pipeline with dotnet and docker-compose

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
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,709 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you