diff options
author | Olaf Flebbe <of@oflebbe.de> | 2015-08-30 15:01:49 +0200 |
---|---|---|
committer | Evans Ye <evansye@apache.org> | 2015-09-05 22:52:58 +0800 |
commit | 49705dad195e95f763a1304a500775e16611ee70 (patch) | |
tree | fa5a80b8cd25568595ae23db6e195f613fcd8bb1 /docker | |
parent | 3f8216e1ef8e7aff8fe4b54b7aaca29c364c33c6 (diff) |
BIGTOP-1996: Dockerfiles for bigtop-slaves
Signed-off-by: Evans Ye <evansye@apache.org>
Diffstat (limited to 'docker')
-rw-r--r-- | docker/bigtop-slaves/centos-6/Dockerfile | 23 | ||||
-rwxr-xr-x | docker/bigtop-slaves/centos-6/build.sh | 17 | ||||
-rw-r--r-- | docker/bigtop-slaves/centos-7/Dockerfile | 23 | ||||
-rwxr-xr-x | docker/bigtop-slaves/centos-7/build.sh | 17 | ||||
-rw-r--r-- | docker/bigtop-slaves/debian-8/Dockerfile | 23 | ||||
-rwxr-xr-x | docker/bigtop-slaves/debian-8/build.sh | 17 | ||||
-rw-r--r-- | docker/bigtop-slaves/fedora-20/Dockerfile | 25 | ||||
-rwxr-xr-x | docker/bigtop-slaves/fedora-20/build.sh | 17 | ||||
-rw-r--r-- | docker/bigtop-slaves/opensuse-13.2/Dockerfile | 22 | ||||
-rwxr-xr-x | docker/bigtop-slaves/opensuse-13.2/build.sh | 17 | ||||
-rw-r--r-- | docker/bigtop-slaves/ubuntu-14.04/Dockerfile | 23 | ||||
-rwxr-xr-x | docker/bigtop-slaves/ubuntu-14.04/build.sh | 17 |
12 files changed, 241 insertions, 0 deletions
diff --git a/docker/bigtop-slaves/centos-6/Dockerfile b/docker/bigtop-slaves/centos-6/Dockerfile new file mode 100644 index 00000000..18682213 --- /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 oflebbe@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" diff --git a/docker/bigtop-slaves/centos-6/build.sh b/docker/bigtop-slaves/centos-6/build.sh new file mode 100755 index 00000000..c22cbf37 --- /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 diff --git a/docker/bigtop-slaves/centos-7/Dockerfile b/docker/bigtop-slaves/centos-7/Dockerfile new file mode 100644 index 00000000..09565d6a --- /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 oflebbe@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" diff --git a/docker/bigtop-slaves/centos-7/build.sh b/docker/bigtop-slaves/centos-7/build.sh new file mode 100755 index 00000000..8edd41d8 --- /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 diff --git a/docker/bigtop-slaves/debian-8/Dockerfile b/docker/bigtop-slaves/debian-8/Dockerfile new file mode 100644 index 00000000..81b9a6e7 --- /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 oflebbe@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" diff --git a/docker/bigtop-slaves/debian-8/build.sh b/docker/bigtop-slaves/debian-8/build.sh new file mode 100755 index 00000000..61be971f --- /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 diff --git a/docker/bigtop-slaves/fedora-20/Dockerfile b/docker/bigtop-slaves/fedora-20/Dockerfile new file mode 100644 index 00000000..88c85d38 --- /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 oflebbe@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" diff --git a/docker/bigtop-slaves/fedora-20/build.sh b/docker/bigtop-slaves/fedora-20/build.sh new file mode 100755 index 00000000..b62adda4 --- /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 diff --git a/docker/bigtop-slaves/opensuse-13.2/Dockerfile b/docker/bigtop-slaves/opensuse-13.2/Dockerfile new file mode 100644 index 00000000..0be5486f --- /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 evansye@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" 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 00000000..7fa98604 --- /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 diff --git a/docker/bigtop-slaves/ubuntu-14.04/Dockerfile b/docker/bigtop-slaves/ubuntu-14.04/Dockerfile new file mode 100644 index 00000000..f6e02aaa --- /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 oflebbe@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" 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 00000000..9d6d3691 --- /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 |