diff --git a/README.md b/README.md index afa34234e..f1d30aed5 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ To build, download the docker build container that has all of the build dependen 3. Rename `topcoder_global.properties.docker` to `topcoder_global.properties` 4. Unzip [jboss-4.2.3.zip](http://downloads.sourceforge.net/project/jboss/JBoss/JBoss-4.2.3.GA/jboss-4.2.3.GA.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fjboss%2Ffiles%2FJBoss%2FJBoss-4.2.3.GA%2F) in your root source directory. The build will place jboss deployment files here. It also needs some of its libraries for the build itself. 5. Run the docker container to execute a build. The format of the command is `docker run --rm=true -v :/data -t appiriodevops/tc-direct-app-build `. +Make sure `base` is `/data` in `topcoder_global.properties`. For example, `docker run --rm=true -v /Users/james/dev/topcoder/direct-app:/data -t appiriodevops/tc-direct-app-build clean package-direct deploy-prod` diff --git a/topcoder_global.properties.docker b/topcoder_global.properties.docker index ec3b90ef4..5a84fac5b 100644 --- a/topcoder_global.properties.docker +++ b/topcoder_global.properties.docker @@ -1,4 +1,4 @@ -base=/data +base=/root/direct libdir=${base}/lib tcs_libdir=${libdir}/tcs direct_service_libdir=${libdir}/tcs/ejb