Remove unneeded build steps from Alpine

This commit is contained in:
James R. Barlow
2024-10-27 16:46:57 -07:00
parent 07f7c6b812
commit 2463b91051
-17
View File
@@ -23,25 +23,8 @@ RUN apk add --no-cache \
ca-certificates \
git \
python3-dev \
py3-pip \
curl
# 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