diff --git a/common.mk b/common.mk index 8b8f02501..d8e5475eb 100644 --- a/common.mk +++ b/common.mk @@ -1,4 +1,4 @@ GO_REPO_ROOT := /go/src/github.com/dokku/dokku -BUILD_IMAGE := golang:1.7.5 +BUILD_IMAGE := golang:1.9.1 .PHONY: build-in-docker build clean src-clean diff --git a/docs/getting-started/install/debian.md b/docs/getting-started/install/debian.md index 50f486da8..07a0da22d 100644 --- a/docs/getting-started/install/debian.md +++ b/docs/getting-started/install/debian.md @@ -35,7 +35,7 @@ After setting the desired options, proceed with the installation as described ab | Name | Type | Default | Description | | ------------------ | ------- | --------------------- | ------------------------------------------------------------------------ | | dokku/web_config | boolean | true | Use web-based config for below options | -| dokku/vhost_enable | boolean | false | Use vhost-based deployments (e.g. .dokku.me) | +| dokku/vhost_enable | boolean | false | Use vhost-based deployments (e.g., .dokku.me) | | dokku/hostname | string | dokku.me | Hostname, used as vhost domain and for showing app URL after deploy | -| dokku/skip_key_file| boolean | false | Don't check for the existence of the dokku/key_file. Warning: This setting this to true, will require you to manually add an SSH key later on. | +| dokku/skip_key_file| boolean | false | Don't check for the existence of the dokku/key_file. Warning: Setting this to true, will require you to manually add an SSH key later on. | | dokku/key_file | string | /root/.ssh/id_rsa.pub | Path on disk to an SSH key to add to the Dokku user (Will be ignored on `dpkg-reconfigure`) | diff --git a/plugins/00_dokku-standard/pre-deploy b/plugins/00_dokku-standard/pre-deploy index c21ccc7fc..fbe36e544 100755 --- a/plugins/00_dokku-standard/pre-deploy +++ b/plugins/00_dokku-standard/pre-deploy @@ -29,6 +29,8 @@ app_user_pre_deploy_trigger() { if [[ -n "$APP_PATHS" ]]; then CONTAINER_PATHS=$(echo "$APP_PATHS" | awk -F ':' '{ print $2 }' | xargs) DOCKER_ARGS=$(: | plugn trigger docker-args-deploy "$APP" "$IMAGE_TAG") + # strip --restart args from DOCKER_ARGS + DOCKER_ARGS=$(sed -e "s/--restart=[[:graph:]]\+[[:blank:]]\?//g" <<< "$DOCKER_ARGS") eval "ARG_ARRAY=($DOCKER_ARGS)" fi diff --git a/tests/apps/go-fail-postdeploy/Dockerfile b/tests/apps/go-fail-postdeploy/Dockerfile index 9e748affb..b59544951 100644 --- a/tests/apps/go-fail-postdeploy/Dockerfile +++ b/tests/apps/go-fail-postdeploy/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.7.5 +FROM golang:1.9.1 EXPOSE 3000/tcp diff --git a/tests/apps/go-fail-predeploy/Dockerfile b/tests/apps/go-fail-predeploy/Dockerfile index 9e748affb..b59544951 100644 --- a/tests/apps/go-fail-predeploy/Dockerfile +++ b/tests/apps/go-fail-predeploy/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.7.5 +FROM golang:1.9.1 EXPOSE 3000/tcp