diff --git a/plugins/common/functions b/plugins/common/functions index 543c454a8..1387f4183 100755 --- a/plugins/common/functions +++ b/plugins/common/functions @@ -443,6 +443,7 @@ dokku_build() { case "$IMAGE_SOURCE_TYPE" in herokuish) + DOKKU_IMAGE="$(config_get $APP DOKKU_IMAGE || echo $DOKKU_IMAGE)" local id=$(tar -c . | docker run "$DOKKU_GLOBAL_RUN_ARGS" -i -a stdin "$DOKKU_IMAGE" /bin/bash -c "mkdir -p /app && tar -xC /app") test "$(docker wait "$id")" -eq 0 docker commit "$id" "$IMAGE" > /dev/null