[ci skip] remove unnecessary comments and update docs
This commit is contained in:
1 parent
eebcfd85ab
commit
fd187ec837
2 files changed
+1
-4
No files matched your search
+1
-1
@@ -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
|
||||||
```
|
```
|
||||||
@@ -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"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in new issue
Block a user