summaryrefslogtreecommitdiffstats
path: root/ci/build_deb/Dockerfile
diff options
context:
space:
mode:
authorJiang, Yunhong <yunhong.jiang@intel.com>2016-08-23 22:17:42 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-23 22:17:42 +0000
commit76c2ed6659d79ee83c8fc4f00e955268779db826 (patch)
tree5bbdc58f68f4cd56816dfba3dc8e92a8f9f2a135 /ci/build_deb/Dockerfile
parent2b76a9cbd6c127109286c8705f3347415eb26753 (diff)
parent7552c26370d38ef5dd182682a0d3bf096661fe0e (diff)
Merge "OPNFV KVM4NFV CICD: Scripts for creating Rpms & Debians for Kernel, Qemu"
Diffstat (limited to 'ci/build_deb/Dockerfile')
-rw-r--r--ci/build_deb/Dockerfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/ci/build_deb/Dockerfile b/ci/build_deb/Dockerfile
new file mode 100644
index 000000000..676afcf67
--- /dev/null
+++ b/ci/build_deb/Dockerfile
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+FROM ubuntu:14.04.3
+RUN apt-get update && apt-get install -y \
+ git \
+ fakeroot \
+ build-essential \
+ ncurses-dev xz-utils \
+ kernel-package \
+ bc \
+ autoconf \
+ python \
+ pkg-config \
+ zlibc \
+ zlib1g \
+ zlib1g-dev \
+ libglib2.0-dev \
+ libtool \
+ flex \
+ bison
+RUN echo "ALL ALL=NOPASSWD: ALL" > /etc/sudoers.d/open-sudo
+RUN chmod 0440 /etc/sudoers.d/open-sudo