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"


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to