[ https://issues.apache.org/jira/browse/IMPALA-10264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17258585#comment-17258585 ]
Joe McDonnell commented on IMPALA-10264: ---------------------------------------- Kudu has Dockerfiles that build Impala from a source tarball inside a Docker container and use the resulting context to generate a Docker image. That is one way to do this: https://github.com/apache/kudu/blob/master/docker/Dockerfile#L396 > Add ability to build docker images for a different Linux distribution > --------------------------------------------------------------------- > > Key: IMPALA-10264 > URL: https://issues.apache.org/jira/browse/IMPALA-10264 > Project: IMPALA > Issue Type: Improvement > Components: Infrastructure > Affects Versions: Impala 4.0 > Reporter: Joe McDonnell > Priority: Major > > Currently, the build for Impala's docker images builds on the local host OS > and then makes the binaries available in the docker build context. The docker > image thus needs to run the same Linux distribution and version as the host. > Ubuntu 16 docker images should be built on an Ubuntu 16 host. Centos 7 docker > images should be built on a Centos 7 host. > It would be useful to be able to build docker containers for a different > Linux distribution. Developers often develop on Ubuntu 16, but it would be > useful to be able to build Centos 7 docker images to use in other contexts. > To do this, we could build the binaries inside a docker container of a > matching version as the docker image we want to produce. This would construct > the docker build context, and the binaries would always match. An Ubuntu 16 > machine could produce Centos 7 docker containers. Hypothetically, this could > also use QEMU to build ARM docker containers on an x86 host. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org