[ https://issues.apache.org/jira/browse/RANGER-5158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17934009#comment-17934009 ]
Attila Doroszlai commented on RANGER-5158: ------------------------------------------ https://github.com/adoroszlai/ranger-docker-base implements this for the Ubuntu-based {{ranger-base}} image. Docker images are available at https://github.com/adoroszlai/ranger-docker-base/pkgs/container/ranger-base > Pre-build ranger-base image > --------------------------- > > Key: RANGER-5158 > URL: https://issues.apache.org/jira/browse/RANGER-5158 > Project: Ranger > Issue Type: Sub-task > Components: docker > Reporter: Attila Doroszlai > Assignee: Attila Doroszlai > Priority: Major > > {{ranger-base}} image is used as base image for various Ranger components. > It can be built and published independently of Ranger, since it only includes > runtime dependencies, nothing specific to Ranger's version. > Proposed changes: > - create separate repository for the base image definition > - build and publish the image using GitHub workflow > - include only one version of Java, but publish image in different flavors > for different Java versions as necessary > - build for multiple platforms (amd64, arm64) > - publish both to Docker Hub and GitHub Container Registry > Benefits: > - reduced image size > - reduced build time for derived images > - improved usability for developers and CI -- This message was sent by Atlassian Jira (v8.20.10#820010)