BIGTOP-2447: Adding Dockerfile to build puppet image for ubuntu-16.04-x86 Signed-off-by: Olaf Flebbe <[email protected]>
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/898ba6a4 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/898ba6a4 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/898ba6a4 Branch: refs/heads/master Commit: 898ba6a460d5754945dfbbf4362555d25d0381ec Parents: b09de3c Author: amir sanjar <[email protected]> Authored: Tue May 24 14:20:03 2016 -0500 Committer: Olaf Flebbe <[email protected]> Committed: Fri May 27 23:03:07 2016 +0200 ---------------------------------------------------------------------- docker/bigtop-puppet/ubuntu-16.04/Dockerfile | 20 ++++++++++++++++++++ docker/bigtop-puppet/ubuntu-16.04/build.sh | 16 ++++++++++++++++ 2 files changed, 36 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/898ba6a4/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 new file mode 100755 index 0000000..5767d75 --- /dev/null +++ b/docker/bigtop-puppet/ubuntu-16.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: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/898ba6a4/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 new file mode 100755 index 0000000..1c81dda --- /dev/null +++ b/docker/bigtop-puppet/ubuntu-16.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-16.04 .
