Repository: bigtop Updated Branches: refs/heads/master 3f8216e1e -> 49705dad1
BIGTOP-1996: Dockerfiles for bigtop-slaves 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/49705dad Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/49705dad Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/49705dad Branch: refs/heads/master Commit: 49705dad195e95f763a1304a500775e16611ee70 Parents: 3f8216e Author: Olaf Flebbe <o...@oflebbe.de> Authored: Sun Aug 30 15:01:49 2015 +0200 Committer: Evans Ye <evan...@apache.org> Committed: Sat Sep 5 22:52:58 2015 +0800 ---------------------------------------------------------------------- docker/bigtop-slaves/centos-6/Dockerfile | 23 ++++++++++++++++++++ docker/bigtop-slaves/centos-6/build.sh | 17 +++++++++++++++ docker/bigtop-slaves/centos-7/Dockerfile | 23 ++++++++++++++++++++ docker/bigtop-slaves/centos-7/build.sh | 17 +++++++++++++++ docker/bigtop-slaves/debian-8/Dockerfile | 23 ++++++++++++++++++++ docker/bigtop-slaves/debian-8/build.sh | 17 +++++++++++++++ docker/bigtop-slaves/fedora-20/Dockerfile | 25 ++++++++++++++++++++++ docker/bigtop-slaves/fedora-20/build.sh | 17 +++++++++++++++ docker/bigtop-slaves/opensuse-13.2/Dockerfile | 22 +++++++++++++++++++ docker/bigtop-slaves/opensuse-13.2/build.sh | 17 +++++++++++++++ docker/bigtop-slaves/ubuntu-14.04/Dockerfile | 23 ++++++++++++++++++++ docker/bigtop-slaves/ubuntu-14.04/build.sh | 17 +++++++++++++++ 12 files changed, 241 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/centos-6/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/centos-6/Dockerfile b/docker/bigtop-slaves/centos-6/Dockerfile new file mode 100644 index 0000000..1868221 --- /dev/null +++ b/docker/bigtop-slaves/centos-6/Dockerfile @@ -0,0 +1,23 @@ +# 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:6 +MAINTAINER ofle...@apache.org + +COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain + +RUN rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm; \ + yum -y install curl sudo unzip wget puppet tar ; \ + puppet apply -e "include bigtop_toolchain::puppet-modules" ; \ + puppet apply -e "include bigtop_toolchain::installer" http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/centos-6/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/centos-6/build.sh b/docker/bigtop-slaves/centos-6/build.sh new file mode 100755 index 0000000..c22cbf3 --- /dev/null +++ b/docker/bigtop-slaves/centos-6/build.sh @@ -0,0 +1,17 @@ +# 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 -r ../../../bigtop_toolchain . +docker build -t bigtop/slaves:trunk-centos-6 . +rm -rf bigtop_toolchain http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/centos-7/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/centos-7/Dockerfile b/docker/bigtop-slaves/centos-7/Dockerfile new file mode 100644 index 0000000..09565d6 --- /dev/null +++ b/docker/bigtop-slaves/centos-7/Dockerfile @@ -0,0 +1,23 @@ +# 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 ofle...@apache.org + +COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain + +RUN rpm -ivh http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm; \ + yum -y install hostname curl sudo unzip wget puppet; \ + puppet apply -e "include bigtop_toolchain::puppet-modules"; \ + puppet apply -e "include bigtop_toolchain::installer" http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/centos-7/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/centos-7/build.sh b/docker/bigtop-slaves/centos-7/build.sh new file mode 100755 index 0000000..8edd41d --- /dev/null +++ b/docker/bigtop-slaves/centos-7/build.sh @@ -0,0 +1,17 @@ +# 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 -r ../../../bigtop_toolchain . +docker build -t bigtop/slaves:trunk-centos-7 . +rm -rf bigtop_toolchain http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/debian-8/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/debian-8/Dockerfile b/docker/bigtop-slaves/debian-8/Dockerfile new file mode 100644 index 0000000..81b9a6e --- /dev/null +++ b/docker/bigtop-slaves/debian-8/Dockerfile @@ -0,0 +1,23 @@ +# 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:8 +MAINTAINER ofle...@apache.org + +COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain + +RUN apt-get update; \ + apt-get -y install puppet curl; \ + puppet apply -e "include bigtop_toolchain::puppet-modules" ; \ + puppet apply -e "include bigtop_toolchain::installer" http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/debian-8/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/debian-8/build.sh b/docker/bigtop-slaves/debian-8/build.sh new file mode 100755 index 0000000..61be971 --- /dev/null +++ b/docker/bigtop-slaves/debian-8/build.sh @@ -0,0 +1,17 @@ +# 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 -r ../../../bigtop_toolchain . +docker build -t bigtop/slaves:trunk-debian-8 . +rm -rf bigtop_toolchain http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/fedora-20/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/fedora-20/Dockerfile b/docker/bigtop-slaves/fedora-20/Dockerfile new file mode 100644 index 0000000..88c85d3 --- /dev/null +++ b/docker/bigtop-slaves/fedora-20/Dockerfile @@ -0,0 +1,25 @@ +# 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:20 +MAINTAINER ofle...@apache.org + +COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain + +RUN yum -y install yum-utils; yum-config-manager --enable updates-testing ; \ + rpm -ivh https://yum.puppetlabs.com/puppetlabs-release-fedora-20.noarch.rpm; \ + yum update; \ + yum -y install hostname curl sudo unzip wget puppet ; \ + puppet apply -e "include bigtop_toolchain::puppet-modules" ; \ + puppet apply -e "include bigtop_toolchain::installer" http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/fedora-20/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/fedora-20/build.sh b/docker/bigtop-slaves/fedora-20/build.sh new file mode 100755 index 0000000..b62adda --- /dev/null +++ b/docker/bigtop-slaves/fedora-20/build.sh @@ -0,0 +1,17 @@ +# 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 -r ../../../bigtop_toolchain . +docker build -t bigtop/slaves:trunk-fedora-20 . +rm -rf bigtop_toolchain http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/opensuse-13.2/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/opensuse-13.2/Dockerfile b/docker/bigtop-slaves/opensuse-13.2/Dockerfile new file mode 100644 index 0000000..0be5486 --- /dev/null +++ b/docker/bigtop-slaves/opensuse-13.2/Dockerfile @@ -0,0 +1,22 @@ +# 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:13.2 +MAINTAINER evan...@apache.org + +COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain + +RUN zypper --gpg-auto-import-keys install -y curl sudo unzip wget puppet suse-release ca-certificates-mozilla net-tools tar ; \ + puppet apply -e "include bigtop_toolchain::puppet-modules" ; \ + puppet apply -e "include bigtop_toolchain::installer" http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/opensuse-13.2/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/opensuse-13.2/build.sh b/docker/bigtop-slaves/opensuse-13.2/build.sh new file mode 100755 index 0000000..7fa9860 --- /dev/null +++ b/docker/bigtop-slaves/opensuse-13.2/build.sh @@ -0,0 +1,17 @@ +# 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 -r ../../../bigtop_toolchain . +docker build -t bigtop/slaves:trunk-opensuse-13.2 . +rm -rf bigtop_toolchain http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/ubuntu-14.04/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/ubuntu-14.04/Dockerfile b/docker/bigtop-slaves/ubuntu-14.04/Dockerfile new file mode 100644 index 0000000..f6e02aa --- /dev/null +++ b/docker/bigtop-slaves/ubuntu-14.04/Dockerfile @@ -0,0 +1,23 @@ +# 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:14.04 +MAINTAINER ofle...@apache.org + +COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain + +RUN apt-get update; \ + apt-get -y install curl sudo unzip wget puppet software-properties-common ;\ + puppet apply -e "include bigtop_toolchain::puppet-modules" ; \ + puppet apply -e "include bigtop_toolchain::installer" http://git-wip-us.apache.org/repos/asf/bigtop/blob/49705dad/docker/bigtop-slaves/ubuntu-14.04/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-slaves/ubuntu-14.04/build.sh b/docker/bigtop-slaves/ubuntu-14.04/build.sh new file mode 100755 index 0000000..9d6d369 --- /dev/null +++ b/docker/bigtop-slaves/ubuntu-14.04/build.sh @@ -0,0 +1,17 @@ +# 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 -r ../../../bigtop_toolchain . +docker build -t bigtop/slaves:trunk-ubuntu-14.04 . +rm -rf bigtop_toolchain