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 @@ -119,17 +119,20 @@ ENV LIGHTNINGD_VERSION=master
119119
120120RUN dpkg --add-architecture ${target_arch_dpkg}
121121
122- # TODO: python3-dev needs QEMU for post install scripts. find a workaround to not use QEMU
122+ # Install architecture-independent libraries
123123RUN apt-get update && \
124124 apt-get install -qq -y --no-install-recommends \
125- pkg-config:${target_arch_dpkg} \
126- libffi-dev:${target_arch_dpkg} \
127- python3-dev:${target_arch_dpkg} \
128- libicu-dev:${target_arch_dpkg} \
129- zlib1g-dev:${target_arch_dpkg} \
130- libsqlite3-dev:${target_arch_dpkg} \
131- libpq-dev:${target_arch_dpkg} \
132- crossbuild-essential-${target_arch_dpkg}
125+ python3-dev
126+
127+ # Install target-arch libraries
128+ RUN apt-get install -qq -y --no-install-recommends \
129+ pkg-config:${target_arch_dpkg} \
130+ libffi-dev:${target_arch_dpkg} \
131+ libicu-dev:${target_arch_dpkg} \
132+ zlib1g-dev:${target_arch_dpkg} \
133+ libsqlite3-dev:${target_arch_dpkg} \
134+ libpq-dev:${target_arch_dpkg} \
135+ crossbuild-essential-${target_arch_dpkg}
133136
134137ARG AR=${target_arch}-ar
135138ARG AS=${target_arch}-as
You can’t perform that action at this time.
0 commit comments