Volodymyr Panivko created THRIFT-5755:
-----------------------------------------
Summary: 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
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)