You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by GitBox <gi...@apache.org> on 2022/09/30 13:49:47 UTC

[GitHub] [ambari] kevinw66 commented on a diff in pull request #3376: AMBARI-25746: fix the question of dev-support build docker containers

kevinw66 commented on code in PR #3376:
URL: https://github.com/apache/ambari/pull/3376#discussion_r984617279


##########
dev-support/docker/centos7/build-containers.sh:
##########
@@ -15,6 +15,12 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+echo -e "\033[32mInstall mvn\033[0m"
+if [ ! "$(command -v mvn)" ]; then
+  echo "mvn not found and will be installed" >&2
+  yum install -y maven

Review Comment:
   We can't use yum here because we should support as many distros as possible



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org
For additional commands, e-mail: dev-help@ambari.apache.org