Hello everyone: Just curious whether anyone has su...
# all-things-deployment
p
Hello everyone: Just curious whether anyone has successfully built the docker image on AWS EC2 instances? I have had the image successfully built and running at local. But building the image on EC2 will always lead the following error:
Copy code
#12 158.7 [main] INFO com.linkedin.pegasus.generator.DataTemplateGeneratorCmdLineApp - Generating 32 files
#12 158.9
#12 158.9 FAILURE: Build failed with an exception.
#12 158.9
#12 158.9 * What went wrong:
#12 158.9 Execution failed for task ':datahub-web-react:yarnInstall'.
#12 158.9 > Process 'command 'yarn'' finished with non-zero exit value 131
#12 158.9
#12 158.9 * Try:
#12 158.9 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
#12 158.9
#12 158.9 * Get more help at <https://help.gradle.org>
#12 158.9 Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
#12 158.9 Use '--warning-mode all' to show the individual deprecation warnings.
#12 158.9 See <https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings>
#12 158.9 17 actionable tasks: 17 executed
#12 158.9
#12 158.9
#12 158.9 BUILD FAILED in 2m 38s
------
executor failed running [/bin/sh -c cd datahub-src && ./gradlew :datahub-frontend:dist -PenableEmber=${ENABLE_EMBER} -PuseSystemNode=${USE_SYSTEM_NODE} -x test -x yarnTest -x yarnLint     && cp datahub-frontend/build/distributions/datahub-frontend.zip ../datahub-frontend.zip     && cd .. && rm -rf datahub-src && unzip datahub-frontend.zip]: exit code: 1
I also created an issue on GitHub: https://github.com/datahub-project/datahub/issues/4434 Any advices or insights is appreciated!
😿 1
h
Any update on this, Facing the same issue.