浏览代码

add simple dockerfile for dev

Tomás Pinho 7 年之前
父节点
当前提交
53381331cb
共有 1 个文件被更改,包括 17 次插入0 次删除
  1. 17 0
      Dockerfile

+ 17 - 0
Dockerfile

@@ -0,0 +1,17 @@
+FROM ubuntu:latest AS build
+
+ENV WORKDIR /build/
+
+RUN mkdir -p $WORKDIR
+
+WORKDIR $WORKDIR
+
+ADD . .
+
+RUN apt-get update
+
+RUN apt-get install -y bc build-essential dkms
+
+CMD /bin/bash
+
+# make KVER=4.15.0-46-generic