Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Optimizing the wekan Dockerfile #1560
I am in the process of dividing and reordering the single jumbo command currently in the wekan Dockerfile to allow for some caching in the build process.
I am making good progress - 23 of 31 steps caching when i change a file in the app
I have some questions:
Has optimization been considered at all yet?
There is also wekan-dev Dockerfile for development, you can also check that.
Ok, Ok... Thanks for the pointer to wekan-dev...
I managed to get Docker to cache 26 of 31 steps - but a build still takes over 20minutes.
Not knowing that it exists, I recreated something quite similar but without submodule hocus pokus.
So, I'll keep at it... and update this issue with progress and more questions as they arise.
wekan/wekan dockerfile is tried to make of small image size, I think. If you can make it smaller, it would nice.
wekan/wekan-dev is made for development and faster rebuilds, but could be made better.
If these approaches could be combined, that would be even better.