dockerfiles/kernel-builder/Dockerfile
Jess Frazelle 299ae08ba8
update
Signed-off-by: Jess Frazelle <jess@oxide.computer>
2020-05-15 08:53:14 -07:00

30 lines
473 B
Docker

FROM r.j3ss.co/wireguard:install
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apt update && apt -y install \
bash \
bc \
bison \
ca-certificates \
curl \
fakeroot \
flex \
git \
libgmp-dev \
libncurses-dev \
perl \
tar \
--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
RUN echo "build_kernel [version]" > /root/.bash_history
ENTRYPOINT [ "bash" ]