dockerfiles/kernel-builder/Dockerfile
Jess Frazelle 0d3c682007
update kernel-builder
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-05-29 11:55:03 -04:00

32 lines
442 B
Docker

FROM r.j3ss.co/wireguard:install
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apk add --no-cache \
bash \
bc \
bison \
ca-certificates \
curl \
fakeroot \
flex \
git \
gmp-dev \
libressl-dev \
mpc1-dev \
mpfr-dev \
ncurses-dev \
perl \
tar \
xz
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" ]