Repository: bigtop
Updated Branches:
  refs/heads/master 71aa6431a -> f3fc07704


BIGTOP-2922: Drop arch specific bigtop-* images

Use unified Dockerfile for puppet/slaves images on different architectures.
Simplified the build process, and add gradle tasks for them.
Example: ./gradlew -POS=debian-9 -Pprefix=1.2.1 bigtop-puppet
         ./gradlew -POS=debian-9 -Pprefix=1.2.1 bigtop-slaves
This will create proper images with same image name as existings on different
HW architectures. This eases efforts for deploy and test.

Change-Id: I183452324faf54808a4e88981d604d8fe119b51a
Signed-off-by: Jun He <jun...@linaro.org>
Signed-off-by: Evans Ye <evan...@apache.org>


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

Branch: refs/heads/master
Commit: f3fc0770422027180665ad90512c9269e4841bba
Parents: 71aa643
Author: Jun He <jun...@linaro.org>
Authored: Tue Nov 14 17:17:13 2017 +0800
Committer: Evans Ye <evan...@apache.org>
Committed: Sat Feb 10 14:47:17 2018 +0800

----------------------------------------------------------------------
 build.gradle                                    | 24 +++++--
 docker/bigtop-puppet/build.sh                   | 49 ++++++++++++++
 docker/bigtop-puppet/centos-7/Dockerfile        | 20 ------
 docker/bigtop-puppet/centos-7/build.sh          | 16 -----
 .../bigtop-puppet/debian-9-aarch64/Dockerfile   | 20 ------
 docker/bigtop-puppet/debian-9-aarch64/build.sh  | 16 -----
 docker/bigtop-puppet/debian-9/Dockerfile        | 20 ------
 docker/bigtop-puppet/debian-9/build.sh          | 16 -----
 .../bigtop-puppet/fedora-26-aarch64/Dockerfile  | 19 ------
 docker/bigtop-puppet/fedora-26-aarch64/build.sh | 16 -----
 .../bigtop-puppet/fedora-26-ppc64le/Dockerfile  | 20 ------
 docker/bigtop-puppet/fedora-26-ppc64le/build.sh | 16 -----
 docker/bigtop-puppet/fedora-26/Dockerfile       | 20 ------
 docker/bigtop-puppet/fedora-26/build.sh         | 16 -----
 docker/bigtop-puppet/opensuse-42.3/Dockerfile   | 20 ------
 docker/bigtop-puppet/opensuse-42.3/build.sh     | 16 -----
 .../ubuntu-16.04-aarch64/Dockerfile             | 20 ------
 .../bigtop-puppet/ubuntu-16.04-aarch64/build.sh | 16 -----
 .../ubuntu-16.04-ppc64le/Dockerfile             | 20 ------
 .../bigtop-puppet/ubuntu-16.04-ppc64le/build.sh | 16 -----
 docker/bigtop-puppet/ubuntu-16.04/Dockerfile    | 20 ------
 docker/bigtop-puppet/ubuntu-16.04/build.sh      | 16 -----
 docker/bigtop-slaves/Dockerfile.template        | 24 +++++++
 docker/bigtop-slaves/build.sh                   | 69 ++++++++++++++++++++
 docker/bigtop-slaves/centos-7/Dockerfile        | 22 -------
 .../bigtop-slaves/debian-9-aarch64/Dockerfile   | 23 -------
 docker/bigtop-slaves/debian-9/Dockerfile        | 23 -------
 .../bigtop-slaves/fedora-26-aarch64/Dockerfile  | 22 -------
 .../bigtop-slaves/fedora-26-ppc64le/Dockerfile  | 22 -------
 docker/bigtop-slaves/fedora-26/Dockerfile       | 22 -------
 docker/bigtop-slaves/opensuse-42.3/Dockerfile   | 22 -------
 .../ubuntu-16.04-aarch64/Dockerfile             | 22 -------
 .../ubuntu-16.04-ppc64le/Dockerfile             | 22 -------
 docker/bigtop-slaves/ubuntu-16.04/Dockerfile    | 22 -------
 34 files changed, 160 insertions(+), 587 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index b096f15..1a488fe 100644
--- a/build.gradle
+++ b/build.gradle
@@ -408,21 +408,33 @@ task "configure-nexus"(dependsOn: tasks.findAll { alltask 
-> alltask.name.starts
    writer.append("</mirrors></settings>")
 }
 
+task "bigtop-puppet"(type:Exec,
+    description: 'Build bigtop/puppet images.\n' +
+      'Usage:\n  $ ./gradlew 
-POS=[centos-7|fedora-26|debian-9|ubuntu-16.04|opensuse-42.3] 
-Pprefix=STRING_TO_PREFIX bigtop-puppet\n' +
+      'Example:\n  $ ./gradlew -POS=debian-9 -Pprefix=1.0.0 bigtop-puppet\n' +
+      'The built image name: bigtop/puppet:1.0.0-debian-9',
+    group: DOCKERBUILD_GROUP) {
+  def _prefix = project.hasProperty("prefix") ? prefix : "trunk"
+  def _OS = project.hasProperty("OS") ? OS : "centos-7"
+  def command = [
+      './build.sh', _prefix + '-' + _OS,
+  ]
+  workingDir './docker/bigtop-puppet'
+  commandLine command
+}
+
 task "bigtop-slaves"(type:Exec,
     description: 'Build bigtop/slaves images.\n' +
       'Usage:\n  $ ./gradlew 
-POS=[centos-7|fedora-26|debian-9|ubuntu-16.04|opensuse-42.3] 
-Pprefix=STRING_TO_PREFIX bigtop-slaves\n' +
       'Example:\n  $ ./gradlew -POS=debian-9 -Pprefix=1.0.0 bigtop-slaves\n' +
-      'The built image name: bigtop/slaves:1.0.0-debian-8',
+      'The built image name: bigtop/slaves:1.0.0-debian-9',
     group: DOCKERBUILD_GROUP) {
   def _prefix = project.hasProperty("prefix") ? prefix : "trunk"
   def _OS = project.hasProperty("OS") ? OS : "centos-7"
   def command = [
-      'docker', 'build',
-      '-t', 'bigtop/slaves:' + _prefix + '-' + _OS,
-      '-f', "docker/bigtop-slaves/" + _OS + "/Dockerfile",
-      '.'
+      './build.sh', _prefix + '-' + _OS,
   ]
-  workingDir '.'
+  workingDir './docker/bigtop-slaves'
   commandLine command
 }
 

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/build.sh b/docker/bigtop-puppet/build.sh
new file mode 100755
index 0000000..574c193
--- /dev/null
+++ b/docker/bigtop-puppet/build.sh
@@ -0,0 +1,49 @@
+# 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.
+
+#!/bin/sh
+
+set -ex
+
+if [ $# != 1 ]; then
+  echo "Creates bigtop/puppet image"
+  echo
+  echo "Usage: build.sh <PREIX-OS-VERSION>"
+  echo
+  echo "Example: build.sh trunk-centos-7"
+  echo "       : build.sh 1.0.0-centos-7"
+  exit 1
+fi
+
+PREFIX=$(echo "$1" | cut -d '-' -f 1)
+OS=$(echo "$1" | cut -d '-' -f 2)
+VERSION=$(echo "$1" | cut -d '-' -f 3)
+ARCH=$(uname -m)
+if [ "${ARCH}" != "x86_64" ];then
+ARCH="-${ARCH}"
+else
+ARCH=""
+fi
+
+cp ../../bigtop_toolchain/bin/puppetize.sh .
+cat >Dockerfile <<EOF
+FROM ${OS}:${VERSION}
+MAINTAINER d...@bigtop.apache.org
+COPY puppetize.sh /tmp/puppetize.sh
+RUN bash /tmp/puppetize.sh
+EOF
+
+docker build -t bigtop/puppet:${PREFIX}-${OS}-${VERSION}${ARCH} .
+rm -f Dockerfile puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/centos-7/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/centos-7/Dockerfile 
b/docker/bigtop-puppet/centos-7/Dockerfile
deleted file mode 100644
index bd25fa4..0000000
--- a/docker/bigtop-puppet/centos-7/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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 centos:7
-MAINTAINER evan...@apache.org
-
-COPY puppetize.sh /tmp/puppetize.sh
-
-RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/centos-7/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/centos-7/build.sh 
b/docker/bigtop-puppet/centos-7/build.sh
deleted file mode 100755
index 40281d8..0000000
--- a/docker/bigtop-puppet/centos-7/build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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 --pull=true -t bigtop/puppet:trunk-centos-7 .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/debian-9-aarch64/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/debian-9-aarch64/Dockerfile 
b/docker/bigtop-puppet/debian-9-aarch64/Dockerfile
deleted file mode 100644
index 5967824..0000000
--- a/docker/bigtop-puppet/debian-9-aarch64/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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 arm64v8/debian:9
-MAINTAINER Yuqi Gu <yuqi...@arm.com>
-
-COPY puppetize.sh /tmp/puppetize.sh
-
-RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/debian-9-aarch64/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/debian-9-aarch64/build.sh 
b/docker/bigtop-puppet/debian-9-aarch64/build.sh
deleted file mode 100755
index dbf0941..0000000
--- a/docker/bigtop-puppet/debian-9-aarch64/build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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 --pull=true -t bigtop/puppet:trunk-debian-9-aarch64 .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/debian-9/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/debian-9/Dockerfile 
b/docker/bigtop-puppet/debian-9/Dockerfile
deleted file mode 100644
index 26a4095..0000000
--- a/docker/bigtop-puppet/debian-9/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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 debian:9
-MAINTAINER d...@bigtop.apache.org
-
-COPY puppetize.sh /tmp/puppetize.sh
-
-RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/debian-9/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/debian-9/build.sh 
b/docker/bigtop-puppet/debian-9/build.sh
deleted file mode 100755
index e0a0937..0000000
--- a/docker/bigtop-puppet/debian-9/build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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 --pull=true -t bigtop/puppet:trunk-debian-9 .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/fedora-26-aarch64/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/fedora-26-aarch64/Dockerfile 
b/docker/bigtop-puppet/fedora-26-aarch64/Dockerfile
deleted file mode 100644
index 34c5035..0000000
--- a/docker/bigtop-puppet/fedora-26-aarch64/Dockerfile
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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 arm64v8/fedora:26
-MAINTAINER Jun He <jun...@arm.com>
-
-COPY puppetize.sh /tmp/puppetize.sh
-RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/fedora-26-aarch64/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/fedora-26-aarch64/build.sh 
b/docker/bigtop-puppet/fedora-26-aarch64/build.sh
deleted file mode 100755
index f71d958..0000000
--- a/docker/bigtop-puppet/fedora-26-aarch64/build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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 --pull=true -t bigtop/puppet:trunk-fedora-26-aarch64 .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/fedora-26-ppc64le/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/fedora-26-ppc64le/Dockerfile 
b/docker/bigtop-puppet/fedora-26-ppc64le/Dockerfile
deleted file mode 100644
index 0dd4844..0000000
--- a/docker/bigtop-puppet/fedora-26-ppc64le/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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:26
-MAINTAINER Amir Sanjar
-
-COPY puppetize.sh /tmp/puppetize.sh
-
-RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/fedora-26-ppc64le/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/fedora-26-ppc64le/build.sh 
b/docker/bigtop-puppet/fedora-26-ppc64le/build.sh
deleted file mode 100755
index f4ca098..0000000
--- a/docker/bigtop-puppet/fedora-26-ppc64le/build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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 --pull=true -t bigtop/puppet:trunk-fedora-26-ppc64le .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/fedora-26/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/fedora-26/Dockerfile 
b/docker/bigtop-puppet/fedora-26/Dockerfile
deleted file mode 100644
index 45147d6..0000000
--- a/docker/bigtop-puppet/fedora-26/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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:26
-MAINTAINER d...@bigtop.apache.org
-
-COPY puppetize.sh /tmp/puppetize.sh
-
-RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/fedora-26/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/fedora-26/build.sh 
b/docker/bigtop-puppet/fedora-26/build.sh
deleted file mode 100755
index 8ce6927..0000000
--- a/docker/bigtop-puppet/fedora-26/build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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 --pull=true -t bigtop/puppet:trunk-fedora-26 .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/opensuse-42.3/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/opensuse-42.3/Dockerfile 
b/docker/bigtop-puppet/opensuse-42.3/Dockerfile
deleted file mode 100644
index 61d1b4a..0000000
--- a/docker/bigtop-puppet/opensuse-42.3/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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 opensuse:42.3
-MAINTAINER d...@bigtop.apache.org
-
-COPY puppetize.sh /tmp/puppetize.sh
-
-RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/opensuse-42.3/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/opensuse-42.3/build.sh 
b/docker/bigtop-puppet/opensuse-42.3/build.sh
deleted file mode 100755
index 272d6bb..0000000
--- a/docker/bigtop-puppet/opensuse-42.3/build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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 --pull=true -t bigtop/puppet:trunk-opensuse-42.3 .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/ubuntu-16.04-aarch64/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/ubuntu-16.04-aarch64/Dockerfile 
b/docker/bigtop-puppet/ubuntu-16.04-aarch64/Dockerfile
deleted file mode 100755
index 194d4fc..0000000
--- a/docker/bigtop-puppet/ubuntu-16.04-aarch64/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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 arm64v8/ubuntu:16.04
-MAINTAINER Amir Sanjar
-
-COPY puppetize.sh /tmp/puppetize.sh
-
-RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/ubuntu-16.04-aarch64/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/ubuntu-16.04-aarch64/build.sh 
b/docker/bigtop-puppet/ubuntu-16.04-aarch64/build.sh
deleted file mode 100755
index c303f78..0000000
--- a/docker/bigtop-puppet/ubuntu-16.04-aarch64/build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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 --pull=true -t bigtop/puppet:trunk-ubuntu-16.04-aarch64 .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/ubuntu-16.04-ppc64le/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/ubuntu-16.04-ppc64le/Dockerfile 
b/docker/bigtop-puppet/ubuntu-16.04-ppc64le/Dockerfile
deleted file mode 100755
index 65a8d54..0000000
--- a/docker/bigtop-puppet/ubuntu-16.04-ppc64le/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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/ubuntu:16.04
-MAINTAINER Amir Sanjar
-
-COPY puppetize.sh /tmp/puppetize.sh
-
-RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/ubuntu-16.04-ppc64le/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/ubuntu-16.04-ppc64le/build.sh 
b/docker/bigtop-puppet/ubuntu-16.04-ppc64le/build.sh
deleted file mode 100755
index 7e84874..0000000
--- a/docker/bigtop-puppet/ubuntu-16.04-ppc64le/build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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 --pull=true -t bigtop/puppet:trunk-ubuntu-16.04-ppc64le .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/ubuntu-16.04/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/ubuntu-16.04/Dockerfile 
b/docker/bigtop-puppet/ubuntu-16.04/Dockerfile
deleted file mode 100755
index 5767d75..0000000
--- a/docker/bigtop-puppet/ubuntu-16.04/Dockerfile
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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:16.04
-MAINTAINER Amir Sanjar
-
-COPY puppetize.sh /tmp/puppetize.sh
-
-RUN bash /tmp/puppetize.sh

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-puppet/ubuntu-16.04/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-puppet/ubuntu-16.04/build.sh 
b/docker/bigtop-puppet/ubuntu-16.04/build.sh
deleted file mode 100755
index c4fe4fd..0000000
--- a/docker/bigtop-puppet/ubuntu-16.04/build.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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 --pull=true -t bigtop/puppet:trunk-ubuntu-16.04 .

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/Dockerfile.template
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/Dockerfile.template 
b/docker/bigtop-slaves/Dockerfile.template
new file mode 100644
index 0000000..ad92136
--- /dev/null
+++ b/docker/bigtop-slaves/Dockerfile.template
@@ -0,0 +1,24 @@
+# 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 bigtop/puppet:PREFIX-OS-VERSION
+
+MAINTAINER d...@bigtop.apache.org
+
+COPY bigtop_toolchain PUPPET_MODULES
+
+RUN  UPDATE_SOURCE && puppet apply -e "include bigtop_toolchain::installer"
+COPY . /tmp/bigtop
+RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/*

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/build.sh
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/build.sh b/docker/bigtop-slaves/build.sh
new file mode 100755
index 0000000..0b07c6a
--- /dev/null
+++ b/docker/bigtop-slaves/build.sh
@@ -0,0 +1,69 @@
+# 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.
+
+#!/bin/sh
+set -ex
+
+if [ $# != 1 ]; then
+  echo "Creates bigtop/slaves image"
+  echo
+  echo "Usage: build.sh <PREIX-OS-VERSION>"
+  echo
+  echo "Example: build.sh trunk-centos-7"
+  echo "       : build.sh 1.0.0-centos-7"
+  exit 1
+fi
+
+PREFIX=$(echo "$1" | cut -d '-' -f 1)
+OS=$(echo "$1" | cut -d '-' -f 2)
+VERSION=$(echo "$1" | cut -d '-' -f 3)
+ARCH=$(uname -m)
+if [ "${ARCH}" != "x86_64" ];then
+VERSION="${VERSION}-${ARCH}"
+fi
+
+# setup puppet/modules path and update cmds
+case ${OS} in
+    ubuntu)
+        PUPPET_MODULES="/etc/puppet/modules/bigtop_toolchain"
+        UPDATE_SOURCE="apt-get clean \&\& apt-get update"
+        ;;
+    debian)
+        PUPPET_MODULES="/usr/share/puppet/modules/bigtop_toolchain"
+        UPDATE_SOURCE="apt-get clean \&\& apt-get update"
+        ;;
+    fedora)
+        PUPPET_MODULES="/etc/puppet/modules/bigtop_toolchain"
+        UPDATE_SOURCE="dnf clean all \&\& dnf updateinfo"
+        ;;
+    centos)
+        PUPPET_MODULES="/etc/puppet/modules/bigtop_toolchain"
+        UPDATE_SOURCE="yum clean all \&\& yum updateinfo"
+        ;;
+    opensuse)
+        PUPPET_MODULES="/etc/puppet/modules/bigtop_toolchain"
+        UPDATE_SOURCE="zypper clean \&\& zypper refresh"
+        ;;
+    *)
+        echo "[ERROR] Specified distro [${OS}] is not supported!"
+        exit 1
+esac
+
+# generate Dockerfile for build
+sed -e "s|PREFIX|${PREFIX}|;s|OS|${OS}|;s|VERSION|${VERSION}|" 
Dockerfile.template | \
+  sed -e 
"s|PUPPET_MODULES|${PUPPET_MODULES}|;s|UPDATE_SOURCE|${UPDATE_SOURCE}|" > 
Dockerfile
+
+docker build --rm -t bigtop/slaves:${PREFIX}-${OS}-${VERSION} -f Dockerfile 
../..
+rm -f Dockerfile

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/centos-7/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/centos-7/Dockerfile 
b/docker/bigtop-slaves/centos-7/Dockerfile
deleted file mode 100644
index 9691bbc..0000000
--- a/docker/bigtop-slaves/centos-7/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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 bigtop/puppet:trunk-centos-7
-MAINTAINER ofle...@apache.org
-
-COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-
-RUN puppet apply -e "include bigtop_toolchain::installer"
-COPY . /tmp/bigtop
-RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/debian-9-aarch64/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/debian-9-aarch64/Dockerfile 
b/docker/bigtop-slaves/debian-9-aarch64/Dockerfile
deleted file mode 100644
index d017a11..0000000
--- a/docker/bigtop-slaves/debian-9-aarch64/Dockerfile
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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 bigtop/puppet:trunk-debian-9-aarch64
-MAINTAINER Yuqi Gu <yuqi...@arm.com>
-
-COPY bigtop_toolchain /usr/share/puppet/modules/bigtop_toolchain
-
-RUN  apt-get clean && apt-get update && puppet apply -e "include 
bigtop_toolchain::installer"
-
-COPY . /tmp/bigtop
-RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/debian-9/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/debian-9/Dockerfile 
b/docker/bigtop-slaves/debian-9/Dockerfile
deleted file mode 100644
index 351f705..0000000
--- a/docker/bigtop-slaves/debian-9/Dockerfile
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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 bigtop/puppet:trunk-debian-9
-MAINTAINER d...@bigtop.apache.org
-
-COPY bigtop_toolchain /usr/share/puppet/modules/bigtop_toolchain
-
-RUN  apt-get clean && apt-get update && puppet apply -e "include 
bigtop_toolchain::installer"
-
-COPY . /tmp/bigtop
-RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/fedora-26-aarch64/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/fedora-26-aarch64/Dockerfile 
b/docker/bigtop-slaves/fedora-26-aarch64/Dockerfile
deleted file mode 100644
index 9b410c7..0000000
--- a/docker/bigtop-slaves/fedora-26-aarch64/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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 bigtop/puppet:trunk-fedora-26-aarch64
-MAINTAINER Jun He <jun...@arm.com>
-
-COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-
-RUN puppet apply -e "include bigtop_toolchain::installer"
-COPY . /tmp/bigtop
-RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/fedora-26-ppc64le/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/fedora-26-ppc64le/Dockerfile 
b/docker/bigtop-slaves/fedora-26-ppc64le/Dockerfile
deleted file mode 100644
index d40e327..0000000
--- a/docker/bigtop-slaves/fedora-26-ppc64le/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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 bigtop/puppet:trunk-fedora-26-ppc64le
-MAINTAINER Amir Sanjar
-
-COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-
-RUN puppet apply -e "include bigtop_toolchain::installer"
-COPY . /tmp/bigtop
-RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/fedora-26/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/fedora-26/Dockerfile 
b/docker/bigtop-slaves/fedora-26/Dockerfile
deleted file mode 100644
index 86dd529..0000000
--- a/docker/bigtop-slaves/fedora-26/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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 bigtop/puppet:trunk-fedora-26
-MAINTAINER d...@bigtop.apache.org
-
-COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-
-RUN puppet apply -e "include bigtop_toolchain::installer"
-COPY . /tmp/bigtop
-RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/opensuse-42.3/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/opensuse-42.3/Dockerfile 
b/docker/bigtop-slaves/opensuse-42.3/Dockerfile
deleted file mode 100644
index 1b479e0..0000000
--- a/docker/bigtop-slaves/opensuse-42.3/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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 bigtop/puppet:trunk-opensuse-42.3
-MAINTAINER d...@bigtop.apache.org
-
-COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-
-RUN puppet apply -e "include bigtop_toolchain::installer"
-COPY . /tmp/bigtop
-RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/ubuntu-16.04-aarch64/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/ubuntu-16.04-aarch64/Dockerfile 
b/docker/bigtop-slaves/ubuntu-16.04-aarch64/Dockerfile
deleted file mode 100644
index 85c809d..0000000
--- a/docker/bigtop-slaves/ubuntu-16.04-aarch64/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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 bigtop/puppet:trunk-ubuntu-16.04-aarch64
-MAINTAINER Roman Shaposhnik <r...@apache.org>
-
-COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-
-RUN  apt-get clean && apt-get update && puppet apply -e "include 
bigtop_toolchain::installer"
-COPY . /tmp/bigtop
-RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/ubuntu-16.04-ppc64le/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/ubuntu-16.04-ppc64le/Dockerfile 
b/docker/bigtop-slaves/ubuntu-16.04-ppc64le/Dockerfile
deleted file mode 100644
index 5257ab5..0000000
--- a/docker/bigtop-slaves/ubuntu-16.04-ppc64le/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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 bigtop/puppet:trunk-ubuntu-16.04-ppc64le
-MAINTAINER Amir Sanjar
-
-COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-
-RUN apt-get update && apt-get clean && puppet apply -e "include 
bigtop_toolchain::installer"
-COPY . /tmp/bigtop
-RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop

http://git-wip-us.apache.org/repos/asf/bigtop/blob/f3fc0770/docker/bigtop-slaves/ubuntu-16.04/Dockerfile
----------------------------------------------------------------------
diff --git a/docker/bigtop-slaves/ubuntu-16.04/Dockerfile 
b/docker/bigtop-slaves/ubuntu-16.04/Dockerfile
deleted file mode 100644
index 0ae191c..0000000
--- a/docker/bigtop-slaves/ubuntu-16.04/Dockerfile
+++ /dev/null
@@ -1,22 +0,0 @@
-# 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 bigtop/puppet:trunk-ubuntu-16.04
-MAINTAINER Amir Sanjar
-
-COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
-
-RUN  apt-get clean && apt-get update && puppet apply -e "include 
bigtop_toolchain::installer"
-COPY . /tmp/bigtop
-RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop

Reply via email to