[ 
https://issues.apache.org/jira/browse/THRIFT-5755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17820459#comment-17820459
 ] 

Thomas Bruggink commented on THRIFT-5755:
-----------------------------------------

Since I needed to test the thrift system anyway here is my attempt at fixing 
the docker focal and jammy build: https://github.com/apache/thrift/pull/2937
Dotnet 8 dropped support for Ubuntu 18.04 it wont install without manually 
installing it (not sure if it will run).

I can cleanup any directory if its not longer needed, let me know where you 
prefer to go with this.

Like [~sveneld]I also prefer to build/test inside a container so I don't have 
to install all required tools on my host system.

> Docker image build fail
> -----------------------
>
>                 Key: THRIFT-5755
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5755
>             Project: Thrift
>          Issue Type: Bug
>         Environment: Ubuntu 22.04
>            Reporter: Volodymyr Panivko
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When I'm trying to build an docker image and run command
> {code:java}
> docker build -t thrift build/docker/ubuntu-bionic{code}
> I get such error
>  
> {code:java}
>  
>  => 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
> {code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to