dockerfiles/kernel-builder/Dockerfile
Jess Frazelle a79879f347
fix gcc-plugins
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-01-16 14:35:30 -05:00

31 lines
555 B
Docker

FROM debian:sid
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN dpkg --add-architecture arm64 \
&& dpkg --add-architecture ppc64el \
&& apt-get update && apt-get install -y \
ca-certificates \
curl \
gnupg \
crossbuild-essential-arm64 \
crossbuild-essential-ppc64el \
gcc \
gcc-7-plugin-dev \
git \
kernel-package \
libelf-dev \
make \
libncurses5-dev \
libssl-dev \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV HOME /root
WORKDIR $HOME
ENV JOBS 4
COPY build_kernel /usr/local/bin/build_kernel
CMD [ "bash" ]