Skip to content

Instantly share code, notes, and snippets.

View mjaroszek's full-sized avatar

Marcin Jaroszek mjaroszek

View GitHub Profile
@mjaroszek
mjaroszek / mp4_copy.ps1
Last active August 29, 2023 00:17
mp4_copy.ps1
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
1. `Dockerfile` with content:
```
FROM jenkinsci/jenkins:2.9
```
1. Create `jenkins` app:
```
$ dokku apps:create jenkins
-----> Application name is jenkins
Creating jenkins... done
```
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
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
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...