diff --git a/Dockerfile.arm b/Dockerfile.arm index ee344d4..83685ce 100644 --- a/Dockerfile.arm +++ b/Dockerfile.arm @@ -9,18 +9,20 @@ RUN apt-get update && \ WORKDIR /build COPY requirements.txt . -# First build cryptography -RUN pip wheel --no-deps --no-cache-dir --wheel-dir /wheels cryptography>=43.0.0 - -# Then build other dependencies -RUN pip wheel --no-deps --no-cache-dir --wheel-dir /wheels -r requirements.txt && \ +# Build with specific versions and dependencies +RUN pip install --upgrade pip setuptools wheel && \ + pip wheel --no-deps --no-cache-dir --wheel-dir /wheels \ + cffi pycparser && \ + pip wheel --no-deps --no-cache-dir --wheel-dir /wheels \ + "cryptography==43.0.0" && \ + pip wheel --no-deps --no-cache-dir --wheel-dir /wheels -r requirements.txt && \ pip wheel --no-deps --no-cache-dir --wheel-dir /wheels \ aiohttp aiohappyeyeballs aiosignal annotated-types async-timeout attrs \ - bidict blinker bottle bottle-websocket certifi cffi chacha20poly1305-reuseable \ + bidict blinker bottle bottle-websocket certifi chacha20poly1305-reuseable \ charset-normalizer click dnspython filetype frozenlist future gevent \ gevent-websocket greenlet h11 idna ifaddr itsdangerous Jinja2 MarkupSafe \ mediafile miniaudio multidict mutagen packaging protobuf propcache \ - pycparser pydantic pydantic-core pyparsing python-engineio python-socketio \ + pydantic pydantic-core pyparsing python-engineio python-socketio \ simple-websocket six srptools tabulate typing_extensions urllib3 \ wsproto yarl zeroconf zope.event zope.interface