dockerfiles/kernel-builder/Dockerfile
Jess Frazelle 79c05f8324
update images
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-02-23 11:35:53 -05:00

31 lines
558 B
Docker

FROM debian:buster
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" ]