You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2016/10/28 21:06:53 UTC
[30/50] incubator-trafficcontrol git commit: add docker build steps
to TO v2 build
add docker build steps to TO v2 build
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/e25fcdac
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/e25fcdac
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/e25fcdac
Branch: refs/heads/master
Commit: e25fcdaca5496502c18522fe99a71f2e9a979139
Parents: 2ee8942
Author: Dan Kirkwood <da...@gmail.com>
Authored: Thu Oct 20 10:19:40 2016 -0600
Committer: Jeremy Mitchell <mi...@gmail.com>
Committed: Fri Oct 28 15:04:12 2016 -0600
----------------------------------------------------------------------
traffic_ops/experimental/ui/build/README.md | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/e25fcdac/traffic_ops/experimental/ui/build/README.md
----------------------------------------------------------------------
diff --git a/traffic_ops/experimental/ui/build/README.md b/traffic_ops/experimental/ui/build/README.md
index c2bd4d5..90879f9 100644
--- a/traffic_ops/experimental/ui/build/README.md
+++ b/traffic_ops/experimental/ui/build/README.md
@@ -11,10 +11,13 @@
* Build the RPM
```
- $ cd traffic_control/build
- $ ./docker-build.sh -r https://github.com/apache/incubator-trafficcontrol.git -b master traffic_ops_v2
+ $ cd traffic_ops/experimental/ui/build
+ $ docker build -t tov2-build .
+ $ docker run -v $(pwd)/artifacts:/artifacts -e GITREPO=https://github.com/apache/incubator-trafficcontrol.git -e BRANCH=master tov2-build
```
+ The rpm will be created the `artifacts` directory.
+
### 2. Install
* Install the Node.js JavaScript runtime
@@ -27,7 +30,7 @@
* Install the Traffic Ops v2 RPM
```
- $ sudo yum install -y traffic_ops_v2-[version]-[commits].[sha].x86_64.rpm
+ $ sudo yum install -y ./artifacts/traffic_ops_v2-[version]-[commits].[sha].x86_64.rpm
```
### 3. Configure