Repository: bigtop Updated Branches: refs/heads/master e4ad15776 -> 898ba6a46
BIGTOP-2430- Adding Dockerfile to build puppet image for ubuntu-16.04-ppc64le Signed-off-by: Olaf Flebbe <o...@oflebbe.de> Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/b09de3cb Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/b09de3cb Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/b09de3cb Branch: refs/heads/master Commit: b09de3cba7eb83d83a86ca896f89113762b21782 Parents: e4ad157 Author: Amir Sanjar <afsan...@gmail.com> Authored: Tue May 24 14:10:18 2016 -0500 Committer: Olaf Flebbe <o...@oflebbe.de> Committed: Fri May 27 23:02:28 2016 +0200 ---------------------------------------------------------------------- bigtop_toolchain/bin/puppetize.sh | 2 +- .../ubuntu-16.04-ppc64le/Dockerfile | 20 ++++++++++++++++++++ .../bigtop-puppet/ubuntu-16.04-ppc64le/build.sh | 16 ++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/b09de3cb/bigtop_toolchain/bin/puppetize.sh ---------------------------------------------------------------------- diff --git a/bigtop_toolchain/bin/puppetize.sh b/bigtop_toolchain/bin/puppetize.sh index 69a5889..da8fdfa 100755 --- a/bigtop_toolchain/bin/puppetize.sh +++ b/bigtop_toolchain/bin/puppetize.sh @@ -49,7 +49,7 @@ case ${ID}-${VERSION_ID} in fi apt-get -y install curl sudo unzip puppet software-properties-common ;; - ubuntu-15*) + ubuntu-1[56]*) apt-get update apt-get -y install curl sudo unzip wget puppet software-properties-common ;; http://git-wip-us.apache.org/repos/asf/bigtop/blob/b09de3cb/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 new file mode 100755 index 0000000..65a8d54 --- /dev/null +++ b/docker/bigtop-puppet/ubuntu-16.04-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/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/b09de3cb/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 new file mode 100755 index 0000000..ae881c0 --- /dev/null +++ b/docker/bigtop-puppet/ubuntu-16.04-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:ubuntu-16.04-ppc64le .