[ci skip] remove unnecessary comments and update docs

This commit is contained in:
Michael Hobbs committed 2015-07-09 13:22:12 -07:00
1 parent eebcfd85ab
commit fd187ec837
2 files changed
+1 -4

No files matched your search

+1 -1
View File
@@ -58,5 +58,5 @@ cd /tmp
git clone https://github.com/gliderlabs/herokuish.git git clone https://github.com/gliderlabs/herokuish.git
cd herokuish cd herokuish
git pull origin master git pull origin master
sudo make build IMAGE_NAME=gliderlabs/herokuish BUILD_TAG=latest VERSION=master make -e build-in-docker
``` ```
-3
View File
@@ -42,8 +42,6 @@ case "$1" in
# extract first port from Dockerfile # extract first port from Dockerfile
DOCKERFILE_PORT=$(grep EXPOSE Dockerfile | head -1 | awk '{ print $2 }' || true) DOCKERFILE_PORT=$(grep EXPOSE Dockerfile | head -1 | awk '{ print $2 }' || true)
[[ -n "$DOCKERFILE_PORT" ]] && dokku config:set-norestart $APP DOKKU_DOCKERFILE_PORT=$DOCKERFILE_PORT [[ -n "$DOCKERFILE_PORT" ]] && dokku config:set-norestart $APP DOKKU_DOCKERFILE_PORT=$DOCKERFILE_PORT
# herokuish pluginhooks don't necessarily make sense for dockerfiles. call the new breed!!!
pluginhook pre-build-dockerfile "$APP" pluginhook pre-build-dockerfile "$APP"
[[ "$DOKKU_DOCKERFILE_CACHE_BUILD" == "false" ]] && DOKKU_DOCKER_BUILD_OPTS="$DOKKU_DOCKER_BUILD_OPTS --no-cache" [[ "$DOKKU_DOCKERFILE_CACHE_BUILD" == "false" ]] && DOKKU_DOCKER_BUILD_OPTS="$DOKKU_DOCKER_BUILD_OPTS --no-cache"
@@ -85,7 +83,6 @@ case "$1" in
;; ;;
dockerfile) dockerfile)
# herokuish pluginhooks don't necessarily make sense for dockerfiles. call the new breed!!!
pluginhook pre-release-dockerfile "$APP" pluginhook pre-release-dockerfile "$APP"
pluginhook post-release-dockerfile "$APP" pluginhook post-release-dockerfile "$APP"
;; ;;