keon94 opened a new issue, #4805: URL: https://github.com/apache/incubator-devlake/issues/4805
## What and why to refactor The prod Dockerfile (devlake) and CI Dockerfile (lake-builder) share a lot of dependencies, and are built on top of a Go (Alpine) and Python (Debian) base image. ## Describe the solution you'd like 1. Create two Dockerfiles for each of the base images mentioned above to install the common dependencies into each of them. The Prod and CI Dockerfiles should then inherit from these images instead. 2. Move the Prod Dockerfile to the devops directory to be consistent with the other Dockerfiles, and create a Github workflow to trigger pushing it to Dockerfile and support the "latest" tag. I suggest "latest" to be reserved for only main-builds, and versioned images based on pushed tags similar to CI. Update Readme accordingly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
