ARG REL FROM ghcr.io/linuxserver/baseimage-alpine:${REL} RUN \ echo "**** install build packages ****" && \ apk add --no-cache --virtual=build-dependencies \ autoconf \ build-base \ ca-certificates \ cargo \ cmake \ curl \ cython \ g++ \ gcc \ git \ glib-dev \ gnupg \ jq \ libffi-dev \ libstdc++ \ libxml2-dev \ libxslt \ libxslt-dev \ linux-headers \ scons \ make \ openssl \ openssl-dev \ py3-pip \ python3-dev && \ pip3 install -U --no-cache-dir pip wheel setuptools && \ mkdir -p /build ENTRYPOINT [ "pip3", "wheel", "--wheel-dir=/build", "--find-links=/build", "--no-cache-dir" ]