Fixed armel (armv5) jessie docker build. Thanks @thewtex for the heads up.

This commit is contained in:
Roman Valls Guimera 2016-06-12 19:44:48 +02:00
parent 140621f9c0
commit 3f0fc180cd

View File

@ -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 \