aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmir Sanjar <afsanjar@gmail.com>2016-02-19 17:30:46 -0600
committerOlaf Flebbe <of@ofleb.be>2016-02-20 17:22:10 +0100
commit804ed468cc2d683548050d842a47ce1db9bc8ce4 (patch)
tree24d2666a6e58b693398d4f10ae09003738f79530
parentae9e1634076e2419bbb943ec7ec0edfc8ed81de4 (diff)
BIGTOP-2264: adding dockerfile for bigtop/puppet for x86_64 platform
Signed-off-by: Olaf Flebbe <of@ofleb.be>
-rw-r--r--docker/bigtop-puppet/ubuntu-15.04/Dockerfile20
-rwxr-xr-xdocker/bigtop-puppet/ubuntu-15.04/build.sh16
2 files changed, 36 insertions, 0 deletions
diff --git a/docker/bigtop-puppet/ubuntu-15.04/Dockerfile b/docker/bigtop-puppet/ubuntu-15.04/Dockerfile
new file mode 100644
index 00000000..5ac6c759
--- /dev/null
+++ b/docker/bigtop-puppet/ubuntu-15.04/Dockerfile
@@ -0,0 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+FROM ubuntu:15.04
+MAINTAINER Amir Sanjar
+
+COPY puppetize.sh /tmp/puppetize.sh
+
+RUN bash /tmp/puppetize.sh
diff --git a/docker/bigtop-puppet/ubuntu-15.04/build.sh b/docker/bigtop-puppet/ubuntu-15.04/build.sh
new file mode 100755
index 00000000..ea239fca
--- /dev/null
+++ b/docker/bigtop-puppet/ubuntu-15.04/build.sh
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+cp ../../../bigtop_toolchain/bin/puppetize.sh .
+docker build -t bigtop/puppet:ubuntu-15.04 .