File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -100,17 +100,20 @@ ENV LIGHTNINGD_VERSION=master
100100
101101RUN dpkg --add-architecture ${target_arch_dpkg}
102102
103- # TODO: python3-dev needs QEMU for post install scripts. find a workaround to not use QEMU
103+ # Install architecture-independent libraries
104104RUN apt-get update && \
105105 apt-get install -qq -y --no-install-recommends \
106- pkg-config:${target_arch_dpkg} \
107- libffi-dev:${target_arch_dpkg} \
108- python3-dev:${target_arch_dpkg} \
109- libicu-dev:${target_arch_dpkg} \
110- zlib1g-dev:${target_arch_dpkg} \
111- libsqlite3-dev:${target_arch_dpkg} \
112- libpq-dev:${target_arch_dpkg} \
113- crossbuild-essential-${target_arch_dpkg}
106+ python3-dev
107+
108+ # Install target-arch libraries
109+ RUN apt-get install -qq -y --no-install-recommends \
110+ pkg-config:${target_arch_dpkg} \
111+ libffi-dev:${target_arch_dpkg} \
112+ libicu-dev:${target_arch_dpkg} \
113+ zlib1g-dev:${target_arch_dpkg} \
114+ libsqlite3-dev:${target_arch_dpkg} \
115+ libpq-dev:${target_arch_dpkg} \
116+ crossbuild-essential-${target_arch_dpkg}
114117
115118ARG AR=${target_arch}-ar
116119ARG AS=${target_arch}-as
You can’t perform that action at this time.
0 commit comments