musl-1.2.2-r9 is available, but unreleased
As a result the following Dockerfile
doesn't build (it increases the musl
's directory read buffer):
FROM alpine:3.15.8 as musl
RUN set -x && . /etc/os-release \
&& apk add alpine-sdk sudo \
&& abuild-keygen -ain \
&& git clone --branch v"$VERSION_ID" --single-branch --depth 1 https://gitlab.alpinelinux.org/alpine/aports \
&& cd aports/main/musl \
&& sed -i '/build()/a \'$'\n''\
sed -i "s/char buf\\[2048\\]/char buf[8192]/" src/dirent/__dirent.h \
' APKBUILD \
&& abuild -rF \
&& apk add /root/packages/main/x86_64/musl-1.2.2-r8.apk
Because alpine:3.15.8
now comes with musl-1.2.2-r9
.
I thought that I just need to replace r8
with r9
, but the v3.15.8
tag doesn't contain the commit that increases the release number. And there's no v3.15.9
tag.
As such I'm forced to do:
git clone --branch 3.15-stable --single-branch --depth 100 https://gitlab.alpinelinux.org/alpine/aports
git checkout 5029b2d99b0f35ea8d26faa25f83e236e7e1c968
All in all, it looks like musl-1.2.2-r9
is available, but unreleased.