Skip to content

Commit

Permalink
Remove unneeded build steps from Alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarlow83 committed Oct 27, 2024
1 parent 07f7c6b commit 2463b91
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2463b91

Please sign in to comment.