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

ASF GitHub Bot commented on MNEMONIC-274:
-----------------------------------------

Github user bigdata-memory commented on a diff in the pull request:

    https://github.com/apache/incubator-mnemonic/pull/45#discussion_r120042347
  
    --- Diff: docker-ubuntu/README.md ---
    @@ -0,0 +1,74 @@
    +<img 
src="http://nonvolatilecomputing.github.io/Mnemonic/images/mnemonic_logo.png"; 
width=200 />
    +
    +================================ 
    +
    +This is the "Dockerfile" that will automatically build the environment of 
this project under ubuntu. 
    +
    +--------------
    +### Features:
    +
    +*What does this Dockerfile do?* 
    +
    +- 1. Build from ubuntu 16.04.
    +- 2. Default is not using proxy. Please see instruction below to set up 
http/https proxy.
    +- 3. Install dependency packages.
    +- 4. Set up environment variables of paths.
    +- 5. Create /ws folder.
    +- 6. Install pmalloc in /ws
    +- 7. Install nvml in /ws.
    +- 8. Set up maven proxy mvn.sh.
    +- 9. Clone mnemonic code then build/install.  
    +- 10. Go to /ws fold and start bash.  
    +
    +#### How to set up proxy? 
    +
    +Set the argument "http_proxy" for the docker option "--build-arg" as 
follows
    +```bash
    +  $ docker build -t NAME[:TAG] --build-arg proxy_host="<proxy_host>" 
proxy_port="<proxy_port>" .
    +```
    +
    +For old version docker v1.10 below, Please replace ARG with ENV and set 
its value as proxy strings in Dockerfile instead
    +
    +### How to build the docker image from Dockerfile in host OS?
    +Build from git repository
    +
    +```bash
    +  $ docker build -t NAME[:TAG] 
https://github.com/apache/incubator-mnemonic.git#:docker
    --- End diff --
    
    Please replace the "#:docker" with "#:docker-ubuntu"


> Add another Dockerfile for Ubuntu system
> ----------------------------------------
>
>                 Key: MNEMONIC-274
>                 URL: https://issues.apache.org/jira/browse/MNEMONIC-274
>             Project: Mnemonic
>          Issue Type: New Feature
>          Components: Docker
>    Affects Versions: 0.9.0-incubating
>            Reporter: Wang, Gang
>            Assignee: Yanhui Zhao
>             Fix For: 0.9.0-incubating
>
>
> The existed Dockerfile has described how to setup Mnemonic development 
> environment for CentOS only, so we need another one for Ubuntu, because the 
> Ubuntu also is one of most popular server system.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to