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

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

[~markito], thank you for showing the official Docker location 
https://registry.hub.docker.com/u/apachegeode/geode/

I'd almost like to cease my Dockerfile and piggybag on yours.
Yours is best for running gfsh out of the box with prebuild geode inside of the 
Docker image registered here 
https://registry.hub.docker.com/u/apachegeode/geode/ cool
I'd say it is meant for end users who want to play geode.

What I'd like to do along this CI work is 
# I (on one of CI slave) have geode code locally, and a patch is applied.
# Run Docker container to run build, compile, package, and/or test by mounting 
(via -v option) 
e.g. docker run -i -t --rm=true -e HOME=/root -w $PWD -v $HOME:/root -v 
$PWD:$PWD geode/build bash

It is meant for developers who want to build and test.
Also, running a CI job on builds.a.o is not too straightforward. To find a set 
of slaves that has a particular Java version is not trivial and some slaves 
could not even have it. Therefore, it is important to have a Dockerfile. 

Essentially, I want to mimic what hadoop project does 
https://github.com/apache/hadoop/blob/trunk/start-build-env.sh
https://github.com/apache/hadoop/blob/trunk/dev-support/docker/Dockerfile

Question is 
Do you think we can modify your Dockerfile to fulfill both end user case and 
developer case? 
Or should we use 2 Dockerfile for the different purposes?
I'm more toward to having 2 Dockerfiles.
Let me know .

> 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)

Reply via email to