Attempt at alpine on arm64 - not working

pip attempts to download musllinux_1_1 wheels and can't find pikepdf's which is only 1_2. Not clear how to fix.
This commit is contained in:
James R. Barlow
2023-10-09 17:34:28 -07:00
parent 5727f1e081
commit ffd6a64ce9
+16
View File
@@ -18,6 +18,22 @@ RUN apk add --no-cache \
python3-dev \
py3-pip
# On arm64, we need to build cffi from source.
ARG TARGETPLATFORM
RUN if [ "${TARGETPLATFORM}" == "linux/arm64" ]; then \
apk add --no-cache \
build-base \
autoconf \
automake \
libtool \
zlib-dev \
libffi-dev \
cairo-dev \
pkgconfig \
; \
fi
COPY . /app
WORKDIR /app