1. 操作环境
1. CentOS:
- Linux localhost.localdomain 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
2. Docker:
- Docker version 1.12.6, build 88a4867/1.12.6
3. Docker中的镜像CentOS:
- Linux cd1ce3371224 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
4. JDK:
- jdk-8u144-linux-x64.tar.gz
5. Ant:
- apache-ant-1.10.1.tar.gz
2. 安装准备
安装maven仍然是在之前所创建Docker容器java8中,所以说有不明白的地方可以看前面