Skip to content

Commit

Permalink
arm32 dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Sep 29, 2024
1 parent 511f585 commit bd4ebd8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ FROM base AS builder
ARG BUILD_DATE
RUN apt-get update \
&& apt-get install -y curl tar gcc \
&& if [ "$(uname -m)" = "armv7l" ]; then \
apt-get install -y libxml2-dev libxslt1-dev zlib1g-dev libffi-dev; \
fi \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY ../app/ /build/app/
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.multiarch
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ARG BUILD_DATE
RUN apt-get update \
&& apt-get install -y curl tar gcc \
&& if [ "${TARGETARCH}" = "arm" ]; then \
apt-get install -y libxml2-dev libxslt1-dev; \
apt-get install -y libxml2-dev libxslt1-dev zlib1g-dev libffi-dev; \
fi \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit bd4ebd8

Please sign in to comment.