From 7f49111b8f24fb154baae0e3f1336803284524fa Mon Sep 17 00:00:00 2001 From: paulbourelly999 <77466294+paulbourelly999@users.noreply.github.com> Date: Wed, 30 Oct 2024 17:41:46 -0400 Subject: [PATCH] Fix ARM Focal Cross Compilation issues --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 87899af..dd641e5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,8 @@ RUN ./opt/carma/scripts/install_build_tools.sh FROM base AS cross-compile-version +RUN ./opt/carma/scripts/install_build_tools.sh + # set an envionrment variable anything can use to tell this is a cross compile environment ARG BUILD_ARCHITECTURE ENV BUILD_ARCHITECTURE=$BUILD_ARCHITECTURE @@ -32,7 +34,7 @@ COPY cross/add_cross_architecture_ports.sh / RUN /add_cross_architecture_ports.sh # install the cross compiler -RUN apt-get update && apt-get install -y cmake crossbuild-essential-${BUILD_ARCHITECTURE} file +RUN apt-get update && apt-get install -y crossbuild-essential-${BUILD_ARCHITECTURE} file # copy in our CMake toolchain file which indicates which compile tools to use COPY cross/cmake_${BUILD_ARCHITECTURE}.toolchain.ubuntu /opt/carma/cmake/