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 FROM thewtex/cross-compiler-base
MAINTAINER Matt McCormick "matt.mccormick@kitware.com" MAINTAINER Matt McCormick "matt.mccormick@kitware.com"
# This is for ARMv5 "legacy" devices which do not support hard float VFP instructions. # This is for ARMv5 "legacy" (armel) devices which do NOT support hard float
# https://wiki.debian.org/CrossToolchains # VFP instructions (armhf).
RUN dpkg --add-architecture armel && \
apt-get update && \ # From https://wiki.debian.org/CrossToolchains, installing for jessie
apt-get install -y crossbuild-essential-armel 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 # The cross-compiling emulator
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \