This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($args.Length -ne 1) { | |
Write-Error "Only one argument required - working dir" | |
exit 1 | |
} | |
$working_dir = $args[0] | |
$working_dir = [IO.Path]::GetFullPath(${working_dir}) | |
if (-not (Test-Path -Path ${working_dir})) { | |
Write-Error "Directory does not exist: ${working_dir}" | |
exit 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. `Dockerfile` with content: | |
``` | |
FROM jenkinsci/jenkins:2.9 | |
``` | |
1. Create `jenkins` app: | |
``` | |
$ dokku apps:create jenkins | |
-----> Application name is jenkins | |
Creating jenkins... done | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dev:~# which dokku | |
/usr/bin/dokku | |
root@dev:~# dokku --trace version | |
-bash: /usr/local/bin/dokku: No such file or directory | |
root@dev:~# /usr/bin/dokku --trace version | |
+ case "$(lsb_release -si)" in | |
++ lsb_release -si | |
+ export DOKKU_DISTRO=ubuntu | |
+ DOKKU_DISTRO=ubuntu | |
+ export DOKKU_IMAGE=gliderlabs/herokuish |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dev:~# curl -sSL https://get.docker.com/ | sh | |
modprobe: FATAL: Module aufs not found. | |
Warning: current kernel is not supported by the linux-image-extra-virtual | |
package. We have no AUFS support. Consider installing the packages | |
linux-image-virtual kernel and linux-image-extra-virtual for AUFS support. | |
+ sleep 10 | |
+ sh -c sleep 3; apt-get update | |
Ign http://archive.ubuntu.com trusty InRelease | |
Hit http://archive.ubuntu.com trusty-updates InRelease | |
Hit http://archive.ubuntu.com trusty-security InRelease |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dev:~# TRACE=1 DOKKU_TAG=v0.5.7 bash bootstrap.sh | |
+ main | |
+ export DEBIAN_FRONTEND=noninteractive | |
+ DEBIAN_FRONTEND=noninteractive | |
+ export DOKKU_REPO=https://github.com/dokku/dokku.git | |
+ DOKKU_REPO=https://github.com/dokku/dokku.git | |
+ ensure-environment | |
+ local FREE_MEMORY | |
+ echo 'Preparing to install v0.5.7 from https://github.com/dokku/dokku.git...' | |
Preparing to install v0.5.7 from https://github.com/dokku/dokku.git... |