[ https://issues.apache.org/jira/browse/KAFKA-7581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16722349#comment-16722349 ]
Jordan Moore commented on KAFKA-7581: ------------------------------------- I'm not sure I understand the issue here. Are you able to built other Kafka docker images? - Confluent- [https://github.com/confluentinc/cp-docker-images/blob/5.0.1-post/debian/kafka/Dockerfile] - Bitnami - [https://github.com/bitnami/bitnami-docker-kafka] - wurstmeister - [https://github.com/wurstmeister/kafka-docker] Besides, installing Gradle or Git inside a container is considered bad "Docker etiquette" > Issues in building kafka using gradle on a Ubuntu based docker container > ------------------------------------------------------------------------ > > Key: KAFKA-7581 > URL: https://issues.apache.org/jira/browse/KAFKA-7581 > Project: Kafka > Issue Type: Bug > Components: build > Affects Versions: 2.0.0, 2.0.1, 2.1.0, 2.2.0, 2.1.1, 2.0.2 > Environment: Ubuntu 16.04.3 LTS > Reporter: Sarvesh Tamba > Priority: Blocker > > The following issues are seen when kafka is built using gradle on a Ubuntu > based docker container:- > /kafka-gradle/kafka-2.0.0/core/src/main/scala/kafka/coordinator/transaction/TransactionStateManager.scala:177: > File name too long > This can happen on some encrypted or legacy file systems. Please see SI-3623 > for more details. > .foreach { txnMetadataCacheEntry => > ^ > 56 warnings found > one error found > > Task :core:compileScala FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':core:compileScala'. > > Compilation failed -- This message was sent by Atlassian JIRA (v7.6.3#76005)