Hi community! Thanks for this amazing platform! I...
# troubleshoot
l
Hi community! Thanks for this amazing platform! I understand that rebuilding and updating docker container for backend(gms)/frontend is as below.
Copy code
# Backend (gms)
./gradlew :metadata-service:war:build
(cd docker && COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -p datahub -f docker-compose-without-neo4j.yml -f docker-compose-without-neo4j.override.yml -f docker-compose.dev.yml up -d --no-deps --force-recreate datahub-gms)

# Frontend
./gradlew :datahub-frontend:dist -x yarnTest -x yarnLint
(cd docker && COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -p datahub -f docker-compose-without-neo4j.yml -f docker-compose-without-neo4j.override.yml -f docker-compose.dev.yml up -d --no-deps --force-recreate datahub-frontend-react)
Then how could I do this for metadata-ingestion? 😮 I modified some code in metadata-ingestion/src/datahub/ingestion/source/aws/glue.py file. I want to build this and make it updated in my docker to apply the code modification. I tried to build this as below.
Copy code
./gradlew :metadata-ingestion:build
How could I update this modification to existing docker container? Please help 🙏 Thank you 🙇
👀 1
✅ 1
b
Hey, if you want to test your changes you can run the ingestion outside of docker and send the data to the quick-started deployment. You can find more about how to develop ingestion here: https://github.com/datahub-project/datahub/blob/master/metadata-ingestion/developing.md#getting-started
l
Wow thanks a lot Peter 🙇 I ran ingestion outside of docker using CLI and checked the changes! 👍
b
Glad it works