Skip to content

Commit

Permalink
Cleanup: added dir permission setting to script and .gitignore
Browse files Browse the repository at this point in the history
Fixes #515 #517
  • Loading branch information
Zach Rhoads committed Aug 25, 2017
1 parent b5e71f5 commit 0d7951a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,5 +1,6 @@
html
**/*.DS_Store
**/master.xml
.idea
**/*.iml
**/*.idea
Expand Down
7 changes: 7 additions & 0 deletions cico_build_deploy.sh
Expand Up @@ -52,10 +52,17 @@ rm -rf ${TARGET_DIR}/
docker build -t ${BUILDER_IMAGE} -f Dockerfile.build .

mkdir ${TARGET_DIR}/
mkdir ${TARGET_DIR}/images

docker run --detach=true --name ${BUILDER_CONT} -t -v $(pwd)/${TARGET_DIR}:/${TARGET_DIR}:Z ${BUILDER_IMAGE} /bin/tail -f /dev/null #FIXME


docker exec ${BUILDER_CONT} sh scripts/build_guides.sh

#Need to do this again to set permission of images and html files
chmod -R 0777 ${TARGET_DIR}/


#BUILD DEPLOY IMAGE
docker build -t ${DEPLOY_IMAGE} -f Dockerfile.deploy .

Expand Down

0 comments on commit 0d7951a

Please sign in to comment.