From 7552c26370d38ef5dd182682a0d3bf096661fe0e Mon Sep 17 00:00:00 2001 From: Swati Date: Mon, 27 Jun 2016 17:53:53 +0530 Subject: OPNFV KVM4NFV CICD: Scripts for creating Rpms & Debians for Kernel, Qemu This patch contains the files for generating rpms & debians for both kernel & qemu changes, as part of kvmfornfv project development. The scripts will be triggered to build kernel-rpm & qemu-rpm packages inside centos docker, and kernel-debian & qemu-debian packages inside ubuntu docker, as part of the CICD process. After the new builds are ready, they will be deployed on the pharos testbed for verification. Later, these will be consumed/triggered by verify/daily Releng JJBs. Reference: https://wiki.opnfv.org/display/kvm/KVM4NFV+CICD+Jobs Change-Id: Ie8e8108566790a6c8db2fef1c9b5799a41732b44 Signed-off-by: Swati Sharma --- ci/build_deb/Dockerfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ci/build_deb/Dockerfile (limited to 'ci/build_deb/Dockerfile') 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 -- cgit 1.2.3-korg