[
https://issues.apache.org/jira/browse/METRON-1860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16699119#comment-16699119
]
ASF GitHub Bot commented on METRON-1860:
----------------------------------------
Github user ottobackwards commented on a diff in the pull request:
https://github.com/apache/metron/pull/1261#discussion_r236292888
--- Diff:
metron-deployment/development/centos6_docker_build/docker_run_ansible.sh ---
@@ -0,0 +1,46 @@
+#!/usr/bin/env bash
+
+#
+# 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.
+#
+
+
+#
+# This script runs IN the docker container
+#
+
+cd /root/metron || exit 1
+
+# make sure we have the right c++ tools
+source /opt/rh/devtoolset-6/enable
+
+# give the option to skip building metron, in case they have already done
so
+#read -p " build metron? [yN] " -n 1 -r
+#echo
+#if [[ $REPLY =~ ^[Yy]$ ]]; then
+# USE TAGS
+#fi
--- End diff --
yes
> Improve full dev experience by using docker and vagrant together
> ----------------------------------------------------------------
>
> Key: METRON-1860
> URL: https://issues.apache.org/jira/browse/METRON-1860
> Project: Metron
> Issue Type: Improvement
> Reporter: Otto Fowler
> Assignee: Otto Fowler
> Priority: Major
>
> Many new users have trouble getting full dev to run correctly. Setting up
> the environment to build metron and run the ansible is often a problem.
> We already have a docker container for fully building metron, that could also
> be used for running ansible.
> The idea to explore is the following:
> # run vagrant up, but without ansible, just stand up the base image
> # run docker to run the ansible playbooks against the vagrant machine
> # ???
> # profit
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)