From 3f0fc180cdb138af51ac6b8c83580d29567e14da Mon Sep 17 00:00:00 2001 From: Roman Valls Guimera Date: Sun, 12 Jun 2016 19:44:48 +0200 Subject: [PATCH] Fixed armel (armv5) jessie docker build. Thanks @thewtex for the heads up. --- linux-armv5/Dockerfile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/linux-armv5/Dockerfile b/linux-armv5/Dockerfile index 7057ffe..4d772f9 100644 --- a/linux-armv5/Dockerfile +++ b/linux-armv5/Dockerfile @@ -1,11 +1,15 @@ FROM thewtex/cross-compiler-base MAINTAINER Matt McCormick "matt.mccormick@kitware.com" -# This is for ARMv5 "legacy" devices which do not support hard float VFP instructions. -# https://wiki.debian.org/CrossToolchains -RUN dpkg --add-architecture armel && \ - apt-get update && \ - apt-get install -y crossbuild-essential-armel +# This is for ARMv5 "legacy" (armel) devices which do NOT support hard float +# VFP instructions (armhf). + +# From https://wiki.debian.org/CrossToolchains, installing for jessie +RUN echo "deb http://emdebian.org/tools/debian/ jessie main" > /etc/apt/sources.list.d/emdebian.list \ +&& curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | apt-key add - \ +&& sed -i 's/httpredir.debian.org/http.debian.net/' /etc/apt/sources.list \ +&& dpkg --add-architecture armel \ +&& apt-get update && apt-get install -y crossbuild-essential-armel # The cross-compiling emulator RUN apt-get update && apt-get install -y \