docker: split minimum setup to separate script

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-17 00:00:00 +00:00
parent 0bd53a46f6
commit c2ac65a807
5 changed files with 18 additions and 9 deletions

View File

@@ -1,10 +1,5 @@
# https://github.com/cirosantilli/linux-kernel-module-cheat#docker
FROM ubuntu:18.04
RUN apt update
# Minimum requirements to run ./build --download-dependencies
RUN apt-get install -y \
git \
python3 \
python3-distutils \
;
COPY setup /
RUN /setup -y
CMD bash