install dokku from built deb package and use docker image for integrations tests

This commit is contained in:
Michael Hobbs authored and Jose Diaz-Gonzalez committed 2019-07-18 00:26:31 -04:00
1 parent 1f882d09bf
commit d8ada6a6e9
9 files changed
+102 -89

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -eo pipefail
[[ $DOKKU_TRACE ]] && set -x && DOKKU_DOCKER_ENV="--env DOKKU_TRACE=on"
DOKKU_DOCKER_CONTAINER_NAME=${DOKKU_DOCKER_CONTAINER_NAME:=dokku}
# TODO: handle cases where we need a tty
DOCKER_CMD="docker exec $DOKKU_DOCKER_ENV -i $DOKKU_DOCKER_CONTAINER_NAME dokku $*"
exec "$DOCKER_CMD"