Closed vishnu-narayanan closed 1 year ago
Any time you apk add
an Alpine-provided (or apt-get install
a Debian-provided) Ruby package in the images we maintain, you're installing a second (usually incompatible, sometimes in subtle ways; like python https://github.com/docker-library/python/issues/624) version of Ruby. You likely just want to skip those installs or just use FROM alpine:3.16
or alpine:3.17
instead.
As far as the apk add
itself failing, it also fails in plain alpine:3.16
so it is not something in the image but a bug in Alpine's packages.
Update: I've filled an issue in Alpine: https://gitlab.alpinelinux.org/alpine/aports/-/issues/14425.
@yosifkit Thank you for the reply, and much much thanks for reporting it upstream.
Context
Automated docker builds started failing all of a sudden around three days back. Ref https://github.com/chatwoot/chatwoot/issues/6020
What has been tried?
Upgraded docker base image from
alpine-3.0.4
to3.0.5
but still fails with the same error.on ruby:alpine-3.0.4
on ruby:alpine-3.0.5