mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
a79879f347
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
31 lines
555 B
Docker
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" ]
|