summaryrefslogtreecommitdiffstats
path: root/ci/build_deb/Dockerfile
diff options
context:
space:
mode:
authorQiaowei Ren <qiaowei.ren@intel.com>2018-01-18 12:39:37 +0800
committerQiaowei Ren <qiaowei.ren@intel.com>2018-01-19 09:52:21 +0800
commitc032cadb1e645bf60cfd9276ed2660cc602a0e25 (patch)
treeaee97c7129fbd1d19d9df1d8953ef131cf4ebee4 /ci/build_deb/Dockerfile
parent64df7bc3bc70d49153409436b411fb327691a4d5 (diff)
build package
This patch is to build debian/centos package. Currently it only can build ceph package and only support debian package building from ceph official repo. Change-Id: I702a1d28dd0101156bc3267d93510133db122613 Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Diffstat (limited to 'ci/build_deb/Dockerfile')
-rw-r--r--ci/build_deb/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/ci/build_deb/Dockerfile b/ci/build_deb/Dockerfile
new file mode 100644
index 0000000..bcaeba3
--- /dev/null
+++ b/ci/build_deb/Dockerfile
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+FROM ubuntu:16.04
+RUN apt-get update && apt-get install -y \
+ sudo \
+ git \
+ cmake \
+ debhelper \
+ python-pip
+RUN echo "ALL ALL=NOPASSWD: ALL" > /etc/sudoers.d/open-sudo
+RUN chmod 0440 /etc/sudoers.d/open-sudo