949c515333
Motivation: It would be good to provide a docker image for people that want to build netty on linux. Modifications: Add a docker file Result: People can more easily build netty. Fixes [#7585].
16 lines
280 B
Markdown
16 lines
280 B
Markdown
|
|
** Create a docker image **
|
|
```
|
|
docker build -f Dockerfile-netty-centos6 . -t netty-centos6
|
|
```
|
|
|
|
** Using the image **
|
|
|
|
```
|
|
cd /path/to/netty/
|
|
```
|
|
|
|
```
|
|
docker run -it -v ~/.m2:/root/.m2 -v ~/.ssh:/root/.ssh -v ~/.gnupg:/root/.gnupg -v `pwd`:/code -w /code netty-centos6 bash
|
|
```
|