2018-05-29 04:21:15 +02:00
|
|
|
FROM r.j3ss.co/wireguard:install
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2014-12-01 22:31:45 +01:00
|
|
|
|
2020-05-15 17:53:14 +02:00
|
|
|
RUN apt update && apt -y install \
|
2018-05-29 04:21:15 +02:00
|
|
|
bash \
|
|
|
|
bc \
|
2018-04-25 21:10:21 +02:00
|
|
|
bison \
|
2017-08-01 03:42:07 +02:00
|
|
|
ca-certificates \
|
|
|
|
curl \
|
2018-05-25 19:54:39 +02:00
|
|
|
fakeroot \
|
2018-04-25 21:10:21 +02:00
|
|
|
flex \
|
2015-09-03 06:33:43 +02:00
|
|
|
git \
|
2020-05-15 17:53:14 +02:00
|
|
|
libgmp-dev \
|
|
|
|
libncurses-dev \
|
2018-05-29 17:23:08 +02:00
|
|
|
perl \
|
2018-05-29 17:29:50 +02:00
|
|
|
tar \
|
2020-05-15 17:53:14 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2014-12-01 22:31:45 +01:00
|
|
|
|
2015-04-15 23:07:02 +02:00
|
|
|
ENV HOME /root
|
|
|
|
WORKDIR $HOME
|
2014-12-01 22:31:45 +01:00
|
|
|
|
2015-06-05 20:55:25 +02:00
|
|
|
ENV JOBS 4
|
2015-04-15 23:07:02 +02:00
|
|
|
|
2018-01-16 20:06:53 +01:00
|
|
|
COPY build_kernel /usr/local/bin/build_kernel
|
2015-02-06 21:57:15 +01:00
|
|
|
|
2018-05-29 17:55:03 +02:00
|
|
|
RUN echo "build_kernel [version]" > /root/.bash_history
|
|
|
|
|
2018-05-29 04:21:15 +02:00
|
|
|
ENTRYPOINT [ "bash" ]
|