mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
299ae08ba8
Signed-off-by: Jess Frazelle <jess@oxide.computer>
30 lines
473 B
Docker
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" ]
|