diff options
author | amir sanjar <asanjar@us.ibm.com> | 2016-05-24 14:20:03 -0500 |
---|---|---|
committer | Olaf Flebbe <of@oflebbe.de> | 2016-05-27 23:03:07 +0200 |
commit | 898ba6a460d5754945dfbbf4362555d25d0381ec (patch) | |
tree | abc03bcd0beed3e765e83a66cae3e97682c9a7f6 /docker | |
parent | b09de3cba7eb83d83a86ca896f89113762b21782 (diff) |
BIGTOP-2447: Adding Dockerfile to build puppet image for ubuntu-16.04-x86
Signed-off-by: Olaf Flebbe <of@oflebbe.de>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/bigtop-puppet/ubuntu-16.04/Dockerfile | 20 | ||||
-rwxr-xr-x | docker/bigtop-puppet/ubuntu-16.04/build.sh | 16 |
2 files changed, 36 insertions, 0 deletions
diff --git a/docker/bigtop-puppet/ubuntu-16.04/Dockerfile b/docker/bigtop-puppet/ubuntu-16.04/Dockerfile new file mode 100755 index 00000000..5767d75d --- /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 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 00000000..1c81dda3 --- /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 . |