geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbar...@apache.org
Subject incubator-geode git commit: docs: fix docker scripts for building/viewing docs (Dan S)
Date Tue, 08 Nov 2016 23:05:35 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop 9dfb4ac2f -> 08bbbe261


docs: fix docker scripts for building/viewing docs (Dan S)


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/08bbbe26
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/08bbbe26
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/08bbbe26

Branch: refs/heads/develop
Commit: 08bbbe26163f4f8b899ea0fa4636ff78120822a1
Parents: 9dfb4ac
Author: Dave Barnes <dbarnes@pivotal.io>
Authored: Tue Nov 8 15:05:31 2016 -0800
Committer: Dave Barnes <dbarnes@pivotal.io>
Committed: Tue Nov 8 15:05:31 2016 -0800

----------------------------------------------------------------------
 dev-tools/docker/docs/build-docs.sh | 3 ++-
 dev-tools/docker/docs/view-docs.sh  | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/08bbbe26/dev-tools/docker/docs/build-docs.sh
----------------------------------------------------------------------
diff --git a/dev-tools/docker/docs/build-docs.sh b/dev-tools/docker/docs/build-docs.sh
index 4b670b0..abffadc 100755
--- a/dev-tools/docker/docs/build-docs.sh
+++ b/dev-tools/docker/docs/build-docs.sh
@@ -17,6 +17,8 @@
 
 set -e -x -u
 
+SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+
 . $SCRIPT_DIR/build-image-common.sh
 
 docker run -i -t \
@@ -24,7 +26,6 @@ docker run -i -t \
   -w "/home/${USER_NAME}/incubator-geode/geode-book" \
   -u "${USER_NAME}" \
   -v "$PWD:/home/${USER_NAME}/incubator-geode" \
-  -v "/home/${USER_NAME}/.m2:/home/${USER_NAME}/.m2" \
   ${IMAGE_NAME}-${USER_NAME} \
   bundle exec bookbinder bind local
 

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/08bbbe26/dev-tools/docker/docs/view-docs.sh
----------------------------------------------------------------------
diff --git a/dev-tools/docker/docs/view-docs.sh b/dev-tools/docker/docs/view-docs.sh
index f107ccd..af33c53 100755
--- a/dev-tools/docker/docs/view-docs.sh
+++ b/dev-tools/docker/docs/view-docs.sh
@@ -26,7 +26,6 @@ docker run -i -t \
   -w "/home/${USER_NAME}/incubator-geode/geode-book/final_app/public" \
   -u "${USER_NAME}" \
   -v "$PWD:/home/${USER_NAME}/incubator-geode" \
-  -v "/home/${USER_NAME}/.m2:/home/${USER_NAME}/.m2" \
   -p 127.0.0.1:8080:8080 \
   ${IMAGE_NAME}-${USER_NAME} \
   python -m SimpleHTTPServer 8080


Mime
View raw message