[
https://issues.apache.org/jira/browse/DRILL-7496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005763#comment-17005763
]
Vova Vysotskyi commented on DRILL-7496:
---------------------------------------
The approach which I'm trying to implement is the following: build Drill when
building a docker image and use built Drill. To achieve it, the Docker file
will be placed into the root folder and all project content will be added to
the Doker image. To reduce the resulting image size will be used multi-stage
build, so {{.m2}} folder and project sources wouldn't be included in the
resulting image.
The last problem to solve is reusing the maven cache when building the project.
I will try to use docker layers caching (docker building cache will be
invalidated for changes in pom files only) to preserve the maven cache in an
intermediate image, but I need some time to find the way how to handle it for
the multimodule project.
> Update Dockerfile to publish release images under Apache Docker Hub
> -------------------------------------------------------------------
>
> Key: DRILL-7496
> URL: https://issues.apache.org/jira/browse/DRILL-7496
> Project: Apache Drill
> Issue Type: Task
> Affects Versions: 1.17.0
> Reporter: Vova Vysotskyi
> Assignee: Vova Vysotskyi
> Priority: Major
> Fix For: 1.18.0
>
>
> Update Dockerfile to use built release archive by default for images and
> publish images under Apache Docker Hub.
> Once Dockerfile is updated, we should ask INFRA to add a hook for publishing
> release images automatically one release tag is created. As an example may be
> used this Jira: https://issues.apache.org/jira/browse/INFRA-13838.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)