dotnet / docker-tools

This is a repo to house some common tools for our various docker repos.
MIT License
122 stars 46 forks source link

Dockerfile for Image Builder fails to build with python error #1157

Closed mthalman closed 1 year ago

mthalman commented 1 year ago

It's getting this error when attempting to build https://github.com/dotnet/docker-tools/blob/main/src/Microsoft.DotNet.ImageBuilder/Dockerfile.az.linux:

Step 6/12 : RUN apk add --no-cache         cargo         gcc         libffi-dev         make         musl-dev         openssl-dev         py3-pip         python3-dev~=$PYTHON_VERSION
 ---> Running in c002abe7321e
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
ERROR: unable to select packages:
  python3-dev-3.11.4-r0:
    breaks: world[python3-dev~3.10]

This occurred as a result of the base .NET Alpine image being updated to Alpine 3.18.