From 7ac082bc961bc6907aeb21703ba839f9c5a3a084 Mon Sep 17 00:00:00 2001 From: Muhammad Fadhlika Date: Mon, 21 Mar 2022 08:34:16 +0700 Subject: [PATCH] add static linked dependencies for aarch64 and arm7 --- Dockerfile.aarch64-unknown-linux-gnu-libarchive | 11 ++++++++++- Dockerfile.armv7-unknown-linux-gnueabihf-libarchive | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/Dockerfile.aarch64-unknown-linux-gnu-libarchive b/Dockerfile.aarch64-unknown-linux-gnu-libarchive index 0933cde..f805bc9 100644 --- a/Dockerfile.aarch64-unknown-linux-gnu-libarchive +++ b/Dockerfile.aarch64-unknown-linux-gnu-libarchive @@ -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/ diff --git a/Dockerfile.armv7-unknown-linux-gnueabihf-libarchive b/Dockerfile.armv7-unknown-linux-gnueabihf-libarchive index 000a553..38e3bbb 100644 --- a/Dockerfile.armv7-unknown-linux-gnueabihf-libarchive +++ b/Dockerfile.armv7-unknown-linux-gnueabihf-libarchive @@ -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/