Skip to content

Commit

Permalink
Initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
coraldane committed Jan 3, 2016
1 parent e40c020 commit a9e9bbf
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ This is a project to build tfs binary package in docker
笔者通过一段时间反复尝试,终于成功通过Docker的方式编译TFS且完成部署。
TFS建议在64位Linux环境下运行,32位环境暂未部署成功。

## base
这个目录用于构建TFS的依赖镜像,包括tb-common-utils

使用方式,构建tfs/base镜像
```
cd base && sh build.sh
```
构建成功后会出现tfs/base:1.0的Docker镜像

## centos5
由于淘宝内部使用的TFS 都运行在RHEL 5的机器上,GCC版本为4.1.2
Expand All @@ -25,18 +17,27 @@ cd base && sh build.sh

使用方式, 构建tfs:2.2.0的Docker镜像
```
cd base && sh build.sh
cd centos5 && sh build.sh
```
构建成功后会出现tfs:2.2.0的Docker镜像

## base
这个目录用于构建TFS的依赖镜像,包括tb-common-utils

使用方式,构建tfs/base镜像
```
cd base && sh build.sh
```
构建成功后会出现tfs/base:1.0的Docker镜像

## centos7
基于 base 镜像构建,编译的源码为 https://github.com/alibaba/tfs 的最新版本,
因为 github上的代码不能在CentOS 7 上的GCC 4.8.5编译通过,修改了三处代码。
请使用tfs-latest.tar.gz 这个压缩包。

使用方式, 构建tfs:latest的Docker镜像
```
cd base && sh build.sh
cd centos7 && sh build.sh
```
构建成功后会出现tfs:latest的Docker镜像

Expand Down

0 comments on commit a9e9bbf

Please sign in to comment.