aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authoramir sanjar <afsanjar@gmail.com>2016-12-01 13:43:29 -0600
committerAmir Sanjar <afsanjar@gmail.com>2016-12-01 23:06:10 -0600
commit119d6665650336417241dfa5401d4d7f8b9fe7b8 (patch)
treeb6a70699fd38401ee4cac7b8ea45f38856002036 /docker
parent32dbc7c3e35dc8fb11b4045f8689908ab7cb3c5a (diff)
BIGTOP-2614- create bigtop/slaves docker image or fedora 25
Signed-off-by: Amir Sanjar <afsanjar@gmail.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/bigtop-slaves/fedora-25-ppc64le/Dockerfile22
-rw-r--r--docker/bigtop-slaves/fedora-25/Dockerfile22
2 files changed, 44 insertions, 0 deletions
diff --git a/docker/bigtop-slaves/fedora-25-ppc64le/Dockerfile b/docker/bigtop-slaves/fedora-25-ppc64le/Dockerfile
new file mode 100644
index 00000000..d799714a
--- /dev/null
+++ b/docker/bigtop-slaves/fedora-25-ppc64le/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 bigtop/puppet:fedora-25-ppc64le
+MAINTAINER Amir Sanjar
+
+COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
+
+RUN puppet apply -e "include bigtop_toolchain::installer"
+COPY . /tmp/bigtop
+RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop
diff --git a/docker/bigtop-slaves/fedora-25/Dockerfile b/docker/bigtop-slaves/fedora-25/Dockerfile
new file mode 100644
index 00000000..e820efb6
--- /dev/null
+++ b/docker/bigtop-slaves/fedora-25/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 bigtop/puppet:fedora-25
+MAINTAINER Amir Sanjar
+
+COPY bigtop_toolchain /etc/puppet/modules/bigtop_toolchain
+
+RUN puppet apply -e "include bigtop_toolchain::installer"
+COPY . /tmp/bigtop
+RUN cd /tmp/bigtop && ./gradlew && cd && rm -rf /tmp/bigtop