2017-06-08 16:06:25 +02:00
|
|
|
FROM debian:sid
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2014-12-01 22:31:45 +01:00
|
|
|
|
2017-06-08 16:06:25 +02:00
|
|
|
RUN dpkg --add-architecture arm64 \
|
|
|
|
&& dpkg --add-architecture ppc64el \
|
|
|
|
&& apt-get update && apt-get install -y \
|
2017-08-01 03:42:07 +02:00
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
gnupg \
|
2017-06-08 16:06:25 +02:00
|
|
|
crossbuild-essential-arm64 \
|
|
|
|
crossbuild-essential-ppc64el \
|
2018-01-16 20:35:30 +01:00
|
|
|
gcc \
|
|
|
|
gcc-7-plugin-dev \
|
2015-09-03 06:33:43 +02:00
|
|
|
git \
|
2015-06-05 19:24:11 +02:00
|
|
|
kernel-package \
|
2018-01-16 20:14:19 +01:00
|
|
|
libelf-dev \
|
2015-06-05 19:24:11 +02:00
|
|
|
make \
|
|
|
|
libncurses5-dev \
|
2015-09-11 00:39:22 +02:00
|
|
|
libssl-dev \
|
2015-06-07 02:48:44 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2014-12-01 22:31:45 +01:00
|
|
|
|
2015-04-15 23:07:02 +02:00
|
|
|
ENV HOME /root
|
|
|
|
WORKDIR $HOME
|
2014-12-01 22:31:45 +01:00
|
|
|
|
2015-06-05 20:55:25 +02:00
|
|
|
ENV JOBS 4
|
2015-04-15 23:07:02 +02:00
|
|
|
|
2018-01-16 20:06:53 +01:00
|
|
|
COPY build_kernel /usr/local/bin/build_kernel
|
2015-02-06 21:57:15 +01:00
|
|
|
|
|
|
|
CMD [ "bash" ]
|