aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorOlaf Flebbe <of@oflebbe.de>2017-05-01 15:09:22 +0200
committerOlaf Flebbe <of@oflebbe.de>2017-05-03 21:16:32 +0200
commit4701d1599f7e6c7a38629a09132be2c6dda59aa6 (patch)
tree72bf72c2ef973d57c02c9b65ac1e575a85666b39 /docker
parent42eeb059e502e6e34a2b33ec582ed244985cd3cc (diff)
BIGTOP-2753: Initial support for Debian-9
Diffstat (limited to 'docker')
-rw-r--r--docker/bigtop-puppet/debian-9/Dockerfile20
-rwxr-xr-xdocker/bigtop-puppet/debian-9/build.sh16
-rw-r--r--docker/bigtop-slaves/debian-9/Dockerfile23
3 files changed, 59 insertions, 0 deletions
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