Repository: bigtop Updated Branches: refs/heads/master 4701d1599 -> b9a21cf5b
BIGTOP-2761. Remove bigtop-deploy image build scripts Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/b9a21cf5 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/b9a21cf5 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/b9a21cf5 Branch: refs/heads/master Commit: b9a21cf5b5cffba827325968616fb751461bbd57 Parents: 4701d15 Author: Evans Ye <[email protected]> Authored: Sun May 7 04:18:26 2017 +0800 Committer: Evans Ye <[email protected]> Committed: Thu May 11 03:01:11 2017 +0800 ---------------------------------------------------------------------- docker/bigtop-deploy/centos-6/Dockerfile | 28 ------------------- docker/bigtop-deploy/centos-6/build.sh | 18 ------------ docker/bigtop-deploy/centos-7/Dockerfile | 28 ------------------- docker/bigtop-deploy/centos-7/build.sh | 20 ------------- docker/bigtop-deploy/debian-8/Dockerfile | 34 ----------------------- docker/bigtop-deploy/debian-8/build.sh | 18 ------------ docker/bigtop-deploy/ubuntu-14.04/Dockerfile | 31 --------------------- docker/bigtop-deploy/ubuntu-14.04/build.sh | 18 ------------ 8 files changed, 195 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/b9a21cf5/docker/bigtop-deploy/centos-6/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-deploy/centos-6/Dockerfile b/docker/bigtop-deploy/centos-6/Dockerfile deleted file mode 100644 index cb1b6bb..0000000 --- a/docker/bigtop-deploy/centos-6/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -# 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 bigtop/puppet:centos-6 - -# enable ssh -RUN yum -y install openssh-server openssh-clients vim && \ - # requiretty off - sed -i.bak 's/requiretty/!requiretty/' /etc/sudoers && \ - # setup vagrant account - mkdir /root/.ssh && \ - chmod 0700 /root/.ssh && \ - wget http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub --no-check-certificate -O /root/.ssh/authorized_keys && \ - chmod 0600 /root/.ssh/authorized_keys - -CMD /sbin/init http://git-wip-us.apache.org/repos/asf/bigtop/blob/b9a21cf5/docker/bigtop-deploy/centos-6/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-deploy/centos-6/build.sh b/docker/bigtop-deploy/centos-6/build.sh deleted file mode 100755 index fd32dbf..0000000 --- a/docker/bigtop-deploy/centos-6/build.sh +++ /dev/null @@ -1,18 +0,0 @@ -# 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. - -docker build -t bigtop/deploy:centos-6 . -ret=$? -exit $ret http://git-wip-us.apache.org/repos/asf/bigtop/blob/b9a21cf5/docker/bigtop-deploy/centos-7/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-deploy/centos-7/Dockerfile b/docker/bigtop-deploy/centos-7/Dockerfile deleted file mode 100644 index 2246076..0000000 --- a/docker/bigtop-deploy/centos-7/Dockerfile +++ /dev/null @@ -1,28 +0,0 @@ -# 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 bigtop/puppet:centos-7 - -# enable ssh -RUN yum -y install openssh-server openssh-clients deltarpm vim && \ - # requiretty off - sed -i.bak 's/requiretty/!requiretty/' /etc/sudoers && \ - # setup vagrant account - mkdir /root/.ssh && \ - chmod 0700 /root/.ssh && \ - wget http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub --no-check-certificate -O /root/.ssh/authorized_keys && \ - chmod 0600 /root/.ssh/authorized_keys - -CMD /sbin/init http://git-wip-us.apache.org/repos/asf/bigtop/blob/b9a21cf5/docker/bigtop-deploy/centos-7/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-deploy/centos-7/build.sh b/docker/bigtop-deploy/centos-7/build.sh deleted file mode 100755 index 89bae88..0000000 --- a/docker/bigtop-deploy/centos-7/build.sh +++ /dev/null @@ -1,20 +0,0 @@ -# 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/deploy:centos-7 . -ret=$? -rm -rf bigtop_toolchain -exit $ret http://git-wip-us.apache.org/repos/asf/bigtop/blob/b9a21cf5/docker/bigtop-deploy/debian-8/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-deploy/debian-8/Dockerfile b/docker/bigtop-deploy/debian-8/Dockerfile deleted file mode 100644 index 74bb1f5..0000000 --- a/docker/bigtop-deploy/debian-8/Dockerfile +++ /dev/null @@ -1,34 +0,0 @@ -# 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 bigtop/puppet:debian-8 - -# enable ssh -RUN apt-get update && \ - apt-get install -y openssh-server vim dbus && \ - # requiretty off - sed -i.bak 's/requiretty/!requiretty/' /etc/sudoers && \ - # setup vagrant account - mkdir -p /root/.ssh && \ - chmod 0700 /root/.ssh && \ - wget http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub --no-check-certificate -O /root/.ssh/authorized_keys && \ - chmod 0600 /root/.ssh/authorized_keys && \ - sed -i -e "s,^PermitRootLogin.*,PermitRootLogin without-password," \ - /etc/ssh/sshd_config -# fix systemd -RUN rm /lib/systemd/system/getty-static.service /lib/systemd/system/console-getty.service && \ - systemctl disable [email protected] - -CMD /sbin/init http://git-wip-us.apache.org/repos/asf/bigtop/blob/b9a21cf5/docker/bigtop-deploy/debian-8/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-deploy/debian-8/build.sh b/docker/bigtop-deploy/debian-8/build.sh deleted file mode 100755 index 72fef3c..0000000 --- a/docker/bigtop-deploy/debian-8/build.sh +++ /dev/null @@ -1,18 +0,0 @@ -# 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. - -docker build -t bigtop/deploy:debian-8 . -ret=$? -exit $ret http://git-wip-us.apache.org/repos/asf/bigtop/blob/b9a21cf5/docker/bigtop-deploy/ubuntu-14.04/Dockerfile ---------------------------------------------------------------------- diff --git a/docker/bigtop-deploy/ubuntu-14.04/Dockerfile b/docker/bigtop-deploy/ubuntu-14.04/Dockerfile deleted file mode 100644 index 0b04e95..0000000 --- a/docker/bigtop-deploy/ubuntu-14.04/Dockerfile +++ /dev/null @@ -1,31 +0,0 @@ -# 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 bigtop/puppet:ubuntu-14.04 - -# enable ssh -RUN apt-get update && \ - apt-get install -y openssh-server vim && \ - mkdir -p /var/run/sshd && \ - # requiretty off - sed -i.bak 's/requiretty/!requiretty/' /etc/sudoers && \ - # setup vagrant account - mkdir -p /root/.ssh && \ - chmod 0700 /root/.ssh && \ - wget http://github.com/mitchellh/vagrant/raw/master/keys/vagrant.pub --no-check-certificate -O /root/.ssh/authorized_keys && \ - chmod 0600 /root/.ssh/authorized_keys - -CMD /sbin/init - http://git-wip-us.apache.org/repos/asf/bigtop/blob/b9a21cf5/docker/bigtop-deploy/ubuntu-14.04/build.sh ---------------------------------------------------------------------- diff --git a/docker/bigtop-deploy/ubuntu-14.04/build.sh b/docker/bigtop-deploy/ubuntu-14.04/build.sh deleted file mode 100755 index eec1d03..0000000 --- a/docker/bigtop-deploy/ubuntu-14.04/build.sh +++ /dev/null @@ -1,18 +0,0 @@ -# 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. - -docker build -t bigtop/deploy:ubuntu-14.04 . -ret=$? -exit $ret
