Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5755

Docker image build fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • Build Process
    • None
    • Ubuntu 22.04

    Description

      When I'm trying to build an docker image and run command

      docker build -t thrift build/docker/ubuntu-bionic

      I get such error

       

       
       => ERROR [13/35] RUN apt-get install -y --no-install-recommends       `# dotnet core dependencies`       dotnet-sdk-8.0       dotnet-runtime-8.0       aspnetcore-runtime-8.0       dotnet-apphost-pack-8.0           1.3s
      ------
       > [13/35] RUN apt-get install -y --no-install-recommends       `# dotnet core dependencies`       dotnet-sdk-8.0       dotnet-runtime-8.0       aspnetcore-runtime-8.0       dotnet-apphost-pack-8.0:
      0.350 Reading package lists...
      1.113 Building dependency tree...
      1.216 Reading state information...
      1.311 E: Unable to locate package dotnet-sdk-8.0
      1.311 E: Couldn't find any package by glob 'dotnet-sdk-8.0'
      1.311 E: Couldn't find any package by regex 'dotnet-sdk-8.0'
      1.311 E: Unable to locate package dotnet-runtime-8.0
      1.311 E: Couldn't find any package by glob 'dotnet-runtime-8.0'
      1.311 E: Couldn't find any package by regex 'dotnet-runtime-8.0'
      1.311 E: Unable to locate package aspnetcore-runtime-8.0
      1.311 E: Couldn't find any package by glob 'aspnetcore-runtime-8.0'
      1.311 E: Couldn't find any package by regex 'aspnetcore-runtime-8.0'
      1.311 E: Unable to locate package dotnet-apphost-pack-8.0
      1.311 E: Couldn't find any package by glob 'dotnet-apphost-pack-8.0'
      1.311 E: Couldn't find any package by regex 'dotnet-apphost-pack-8.0'
      ------
      Dockerfile:134
      --------------------
       133 |     
       134 | >>> RUN apt-get install -y --no-install-recommends \
       135 | >>>       `# dotnet core dependencies` \
       136 | >>>       dotnet-sdk-8.0 \
       137 | >>>       dotnet-runtime-8.0 \
       138 | >>>       aspnetcore-runtime-8.0 \
       139 | >>>       dotnet-apphost-pack-8.0
       140 |     
      --------------------
      ERROR: failed to solve: process "/bin/sh -c apt-get install -y --no-install-recommends       `# dotnet core dependencies`       dotnet-sdk-8.0       dotnet-runtime-8.0       aspnetcore-runtime-8.0       dotnet-apphost-pack-8.0" did not complete successfully: exit code: 100
      

       
       

      Attachments

        Issue Links

          Activity

            People

              thomasbruggink Thomas Bruggink
              sveneld Volodymyr Panivko
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 20m
                  5h 20m