diff --git a/cross_compile/vendor/vendor_packages.Dockerfile b/cross_compile/vendor/vendor_packages.Dockerfile index a13cfea..2b1e758 100644 --- a/cross_compile/vendor/vendor_packages.Dockerfile +++ b/cross_compile/vendor/vendor_packages.Dockerfile @@ -142,7 +142,6 @@ RUN ./configure \ --host=aarch64-none-linux-gnu \ --build=x86_64-linux-gnu \ --prefix=${TARGET_SYSROOT} \ - --enable-shared \ --disable-ipv6 \ --enable-optimizations \ --with-openssl=${TARGET_SYSROOT} \ @@ -169,7 +168,7 @@ RUN pip download --no-deps -d /wheels \ argcomplete \ osrf-pycommon \ typing-extensions \ - psutil + rosdistro # python packages with c extension RUN pip download \ @@ -180,16 +179,11 @@ RUN pip download \ --abi cp310 \ --platform manylinux2014_aarch64 \ -d /wheels \ - psutil + psutil numpy==1.21.5 RUN chmod +x /tmp/extract_wheels.sh && \ /tmp/extract_wheels.sh "${TARGET_SYSROOT}/lib/python3.10/site-packages" /wheels -RUN python3 -m pip install crossenv \ - && python3 -m crossenv ${TARGET_SYSROOT}/bin/python3 venv \ - && . venv/bin/activate \ - && pip -v install numpy==1.21.5 --prefix=${TARGET_SYSROOT} - FROM ${CC_PLATFORM_IMAGE} AS final COPY --from=system_packages ${TARGET_SYSROOT} ${TARGET_SYSROOT}