1.解决问题
容器配置简单重复,测试环境不统一
2.相关技术
docker,centos,nginx,resin
3.如何使用
1).前置条件
成功安装docker
如何安装docker:https://docs.docker.com/engine/installation/centos/
2).初始化
clone代码后,在根目录执行
$docker build -t centos-env-6 .
3).启动容器
$docker run -t -i centos-env-6 /bin/bash
4).安装nginx
$ cd /
$ cd /app
$ ./nginx-install.sh
4.配置JDK,ANT,MAVEN,Resin环境
$ cd /app
$ ./download.sh
5.常见问题:
访问:http://www.faceye.com
6.版本说明:
1).centos:6
2).nginx:1.9.9,with openssl
3).resin:4.0.44
4).jdk:1.7.80
5).ant:1.9
6).maven.3.3
7.如何修改安装版本
1).Centos
Dockerfile -> From ?
2).其它版本
nginx-install.sh,download.sh中均有版本控制配置,修改需要的版本即可。
8.关于作者
haipenge[at]gmail.com
做过几年码农,躺过移动互联网这趟浑水,18公岁的时候,写了这个docker-nginx-resin的docker.
http://www.faceye.com
-
Notifications
You must be signed in to change notification settings - Fork 2
haipenge/docker-nginx-resin
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
centos 6 with nginx and resin
Resources
Stars
Watchers
Forks
Releases
No releases published