wkampich left a comment (kamailio/kamailio#4264)
I had the same problem in another project - a workaround is to compile libjwt version 1.17.2 and copy it manually :
``` FROM alpine:3.18.12 as build
RUN apk add --no-cache git gcc musl-dev make automake autoconf libtool jansson-dev openssl-dev yaml-dev curl-dev
WORKDIR /tmp/
RUN git clone -b 'v1.17.2' --single-branch https://github.com/benmcollins/libjwt.git
RUN cd libjwt && \ aclocal && \ autoreconf -i && \ ./configure --without-gnutls && \ make all && \ make install
# ...
FROM alpine:3.18.12
RUN apk add --no-cache openssl yaml curl jansson
COPY --from=build /usr/local/lib/libjwt.* /usr/local/lib/
```