FROM gcc:14-bookworm@sha256:5e927c284bf55a7dc796262e311a0703344f62f41f5621eb56843111b1d37e15
COPY wfdb-10.7.0 /tmp/wfdb-10.7.0
WORKDIR /tmp/wfdb-10.7.0
RUN ./configure --prefix=/opt/wfdb --static --without-netfiles --without-flac --without-xview > /tmp/configure.log 2>&1 && make -C lib > /tmp/library-build.log 2>&1 && make -C lib install >> /tmp/library-build.log 2>&1
ENV PATH="/opt/wfdb/bin:${PATH}"
WORKDIR /work
