mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
update kernel builder for cross compiling
Signed-off-by: Jess Frazelle <acidburn@google.com>
This commit is contained in:
parent
39786742af
commit
e1644ee3ce
|
@ -1,9 +1,21 @@
|
||||||
FROM debian:stretch
|
FROM debian:sid
|
||||||
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
|
gnupg \
|
||||||
|
--no-install-recommends \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN echo "deb [arch=amd64,arm64,ppc64el] http://emdebian.org/tools/debian/ unstable main" > /etc/apt/sources.list.d/crosstools.list
|
||||||
|
RUN curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | apt-key add -
|
||||||
|
|
||||||
|
RUN dpkg --add-architecture arm64 \
|
||||||
|
&& dpkg --add-architecture ppc64el \
|
||||||
|
&& apt-get update && apt-get install -y \
|
||||||
|
crossbuild-essential-arm64 \
|
||||||
|
crossbuild-essential-ppc64el \
|
||||||
git \
|
git \
|
||||||
kernel-package \
|
kernel-package \
|
||||||
make \
|
make \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user