geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jun aoki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-60) Geode build environment within Docker to enable anybody and on any OS and any environment can build Geode as long as there is Docker
Date Tue, 08 Sep 2015 21:10:46 GMT

    [ https://issues.apache.org/jira/browse/GEODE-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735622#comment-14735622
] 

jun aoki commented on GEODE-60:
-------------------------------

>> 4) In any case, there is a Docker image that will be available to Geode users that
will of course have Geode on it. That's what the Dockerfile in the docker folder of Geode
produces. Which then adds the remaining bytes to the final size of 490MB. We could do much
better if the final version was just using JRE and maybe a smaller OS than Centos.

I think this is good and good for end users who want to play geode. Geode is an application
and it is in a container. Make sense.
But IMHO "Geode build environment" is yet another "application" and it should be different
from the first one.
Thus this ticket to create yet another Dockerfile for specific to build.

>> 3) In my understanding, if you are going to automate the build process with Docker
and in order to not rely on the hosting system at all even volumes may not be good, hence
I was thinking we would also clone and build Geode source inside Docker. But I'm not a build
expert and using volumes would work as well or I may be wrong... Don't know.

Interesting. I thought it is common to externalize the source code in host machine. But what
if your host is Windows?, what if a new line code (CRLF) is different? I never thought about
it.
That said, some major projects, like Hadoop https://github.com/apache/hadoop/blob/trunk/start-build-env.sh#L45
seem to use this approach so is it safe to say to volume the source code?

> Geode build environment within Docker to enable anybody and on any OS and any environment
can build Geode as long as there is Docker
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-60
>                 URL: https://issues.apache.org/jira/browse/GEODE-60
>             Project: Geode
>          Issue Type: Sub-task
>          Components: build
>            Reporter: jun aoki
>            Assignee: jun aoki
>         Attachments: GEODE-60.patch
>
>
> geode build is on gradle and seems very tidy but it still requires third party libraries,
like Java.
> Let's have a Docker environment so that at least we have an reliable immutable environment
and we can use it on CI on builds.apache.org https://builds.apache.org/view/E-G/view/Geode/
> (From my experience, It is a bit of pain to find a right environment on builds.a.o but
Docker is a cure so far.) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message