GitHub user karol-brejna-i opened a pull request: https://github.com/apache/incubator-gearpump/pull/235
Use alpine-based image for gearpump-runner Be sure to do all of the following to help us incorporate your contribution quickly and easily: - [ ] Make sure the commit message is formatted like: `[GEARPUMP-<Jira issue #>] Meaningful description of pull request` - [ ] Make sure tests pass via `sbt clean test`. - [ ] Make sure old documentation affected by the pull request has been updated and new documentation added for new functionality. To verify: 1. build the image (`docker build --build-arg HTTP_PROXY=$http_proxy --build-arg HTTPS_PROXY=$https_proxy -t gearpump/gearpump-launcher integrationtest/docker/gearpump/ `) 2. run the master (`docker run -d -h master0 -v /etc/localtime:/etc/localtime:ro -p 8090:8090 -e JAVA_OPTS=-Dgearpump.cluster.masters.0=master0:3000 -v $GEARPUMP_HOME:/opt/gearpump -v /tmp/gearpump:/var/log/gearpump --name master0 gearpump/gearpump-launcher master -ip master0 -port 3000` - please, mind it tries to use the port 8090) 3. run the worker (`docker run -d -h worker0 -v /etc/localtime:/etc/localtime:ro -e JAVA_OPTS=-Dgearpump.cluster.masters.0=master0:3000 -v $GEARPUMP_HOME:/opt/gearpump -v /tmp/gearpump:/var/log/gearpump --link master0 --name worker0 gearpump/gearpump-launcher worker`) 4. verify it works (`docker logs master0`, `docker logs worker0`, open localhost:8090 in the browser) You can merge this pull request into a Git repository by running: $ git pull https://github.com/karol-brejna-i/incubator-gearpump GEARPUMP-360-fix-dockerfile Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-gearpump/pull/235.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #235 ---- commit 6a85a6a1b362cbaafd85cd7b02439b58272a59e1 Author: karol-brejna-i <karol.bre...@intel.com> Date: 2017-10-26T09:20:08Z Use alpine-based image for gearpump-runner ---- ---