From 4701d1599f7e6c7a38629a09132be2c6dda59aa6 Mon Sep 17 00:00:00 2001 From: Olaf Flebbe Date: Mon, 1 May 2017 15:09:22 +0200 Subject: BIGTOP-2753: Initial support for Debian-9 --- docker/bigtop-puppet/debian-9/Dockerfile | 20 ++++++++++++++++++++ docker/bigtop-puppet/debian-9/build.sh | 16 ++++++++++++++++ docker/bigtop-slaves/debian-9/Dockerfile | 23 +++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 docker/bigtop-puppet/debian-9/Dockerfile create mode 100755 docker/bigtop-puppet/debian-9/build.sh create mode 100644 docker/bigtop-slaves/debian-9/Dockerfile (limited to 'docker') diff --git a/docker/bigtop-puppet/debian-9/Dockerfile b/docker/bigtop-puppet/debian-9/Dockerfile new file mode 100644 index 00000000..26a4095d --- /dev/null +++ b/docker/bigtop-puppet/debian-9/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 debian:9 +MAINTAINER dev@bigtop.apache.org + +COPY puppetize.sh /tmp/puppetize.sh + +RUN bash /tmp/puppetize.sh diff --git a/docker/bigtop-puppet/debian-9/build.sh b/docker/bigtop-puppet/debian-9/build.sh new file mode 100755 index 00000000..cdc4623b --- /dev/null +++ b/docker/bigtop-puppet/debian-9/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 --pull=true -t bigtop/puppet:debian-9 . diff --git a/docker/bigtop-slaves/debian-9/Dockerfile b/docker/bigtop-slaves/debian-9/Dockerfile new file mode 100644 index 00000000..69229d14 --- /dev/null +++ b/docker/bigtop-slaves/debian-9/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 bigtop/puppet:debian-9 +MAINTAINER dev@bigtop.apache.org + +COPY bigtop_toolchain /usr/share/puppet/modules/bigtop_toolchain + +RUN apt-get clean && apt-get update && puppet apply -e "include bigtop_toolchain::installer" + +COPY . /tmp/bigtop +RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop -- cgit v1.2.3