You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by as...@apache.org on 2016/12/02 05:03:38 UTC

bigtop git commit: BIGTOP-2613- create bigtop/puppet docker image or fedora 25

Repository: bigtop
Updated Branches:
  refs/heads/master 716a282aa -> 32dbc7c3e


BIGTOP-2613- create bigtop/puppet docker image or fedora 25

Signed-off-by: Amir Sanjar <af...@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/32dbc7c3
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/32dbc7c3
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/32dbc7c3

Branch: refs/heads/master
Commit: 32dbc7c3e35dc8fb11b4045f8689908ab7cb3c5a
Parents: 716a282
Author: amir sanjar <af...@gmail.com>
Authored: Thu Dec 1 13:30:06 2016 -0600
Committer: Amir Sanjar <af...@gmail.com>
Committed: Thu Dec 1 17:03:27 2016 -0600

----------------------------------------------------------------------
 bigtop_toolchain/bin/puppetize.sh               |  5 +++++
 .../bigtop-puppet/fedora-25-ppc64le/Dockerfile  | 20 ++++++++++++++++++++
 docker/bigtop-puppet/fedora-25-ppc64le/build.sh | 16 ++++++++++++++++
 docker/bigtop-puppet/fedora-25/Dockerfile       | 20 ++++++++++++++++++++
 docker/bigtop-puppet/fedora-25/build.sh         | 16 ++++++++++++++++
 5 files changed, 77 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/32dbc7c3/bigtop_toolchain/bin/puppetize.sh
----------------------------------------------------------------------
diff --git a/bigtop_toolchain/bin/puppetize.sh b/bigtop_toolchain/bin/puppetize.sh
index 8ebf399..4e3fdaa 100755
--- a/bigtop_toolchain/bin/puppetize.sh
+++ b/bigtop_toolchain/bin/puppetize.sh
@@ -38,6 +38,11 @@ case ${ID}-${VERSION_ID} in
         yum update
 	yum -y install hostname curl sudo unzip wget puppet
 	;;
+    fedora-25*)
+        dnf -y install yum-utils
+        dnf -y update 
+        dnf -y install hostname findutils curl sudo unzip wget puppet
+        ;;
     ubuntu-14.04)
 	apt-get update
 	apt-get -y install wget

http://git-wip-us.apache.org/repos/asf/bigtop/blob/32dbc7c3/docker/bigtop-puppet/fedora-25-ppc64le/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/fedora-25-ppc64le/Dockerfile b/docker/bigtop-puppet/fedora-25-ppc64le/Dockerfile
new file mode 100644
index 0000000..3ce4b08
--- /dev/null
+++ b/docker/bigtop-puppet/fedora-25-ppc64le/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 ppc64le/fedora:25
+MAINTAINER Amir Sanjar
+
+COPY puppetize.sh /tmp/puppetize.sh
+
+RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/32dbc7c3/docker/bigtop-puppet/fedora-25-ppc64le/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/fedora-25-ppc64le/build.sh b/docker/bigtop-puppet/fedora-25-ppc64le/build.sh
new file mode 100644
index 0000000..4e14baa
--- /dev/null
+++ b/docker/bigtop-puppet/fedora-25-ppc64le/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:fedora-25-ppc64le .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/32dbc7c3/docker/bigtop-puppet/fedora-25/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/fedora-25/Dockerfile b/docker/bigtop-puppet/fedora-25/Dockerfile
new file mode 100644
index 0000000..8e8fe04
--- /dev/null
+++ b/docker/bigtop-puppet/fedora-25/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 fedora:25
+MAINTAINER Amir Sanjar
+
+COPY puppetize.sh /tmp/puppetize.sh
+
+RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/32dbc7c3/docker/bigtop-puppet/fedora-25/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/fedora-25/build.sh b/docker/bigtop-puppet/fedora-25/build.sh
new file mode 100755
index 0000000..d55c1bc
--- /dev/null
+++ b/docker/bigtop-puppet/fedora-25/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:fedora-25 .