Skip to content

Commit

Permalink
add static linked dependencies for aarch64 and arm7
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Fadhlika authored and otavio committed Mar 21, 2022
1 parent a29005e commit 7ac082b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 10 additions & 1 deletion Dockerfile.aarch64-unknown-linux-gnu-libarchive
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@ FROM rustembedded/cross:aarch64-unknown-linux-gnu-0.2.1
RUN dpkg --add-architecture arm64 && \
apt-get update && \
apt-get install -t xenial --assume-yes --no-install-recommends \
libarchive-dev:arm64
libarchive-dev:arm64 \
libicu-dev:arm64 \
nettle-dev:arm64 \
libacl1-dev:arm64 \
liblzma-dev:arm64 \
libzstd-dev:arm64 \
liblz4-dev:arm64 \
libbz2-dev:arm64 \
zlib1g-dev:arm64 \
libxml2-dev:arm64

ENV PKG_CONFIG_ALLOW_CROSS 1
ENV PKG_CONFIG_PATH /usr/lib/aarch64-linux-gnu/pkgconfig/
Expand Down
11 changes: 10 additions & 1 deletion Dockerfile.armv7-unknown-linux-gnueabihf-libarchive
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@ FROM rustembedded/cross:armv7-unknown-linux-gnueabihf-0.2.1
RUN dpkg --add-architecture armhf && \
apt-get update && \
apt-get install -t xenial --assume-yes --no-install-recommends \
libarchive-dev:armhf
libarchive-dev:armhf \
libicu-dev:armhf \
nettle-dev:armhf \
libacl1-dev:armhf \
liblzma-dev:armhf \
libzstd-dev:armhf \
liblz4-dev:armhf \
libbz2-dev:armhf \
zlib1g-dev:armhf \
libxml2-dev:armhf

ENV PKG_CONFIG_ALLOW_CROSS 1
ENV PKG_CONFIG_PATH /usr/lib/arm-linux-gnueabihf/pkgconfig/
Expand Down

0 comments on commit 7ac082b

Please sign in to comment.