Hi team, I am interested in re-build datahub compo...
# getting-started
s
Hi team, I am interested in re-build datahub components image with Dockerfile in your official github, but it seems those Dockerfile cannot find some .jar or .war file for COPY task, is there any extra step to use those Dockerfile
1
b
i used to be able to build the entire docker images from
docker-compose -f <compose file> build
but i think dont think you can do it anymore since https://github.com/datahub-project/datahub/pull/6744 is added. (since gradlew commands is not longer part of the docker build to generate the additional .war file) - i think that means that the "build" option in quickstart compose files should be removed. @delightful-ram-75848 fyi maybe you can look at the github action scripts to see what other steps is needed before the docker build https://github.com/datahub-project/datahub/blob/master/.github/workflows/docker-unified.yml
s
thanks, let me look into it, I also see this file before but it's quite huge for my capability, but it's no choice here
b
alternatively you can clone the project and use github CI/CD to build for you - though i think some environmental variables need to be set to push into dockerhub
s
yes that's the direction I want, but rather than using all image pre-built, I want to make as much Dockerfile build as possible since I need to custom on the flight